Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0061/0.0061, allocations: 99.83 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 193.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002111, allocations: 285 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9494/0.9494, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 95.84 kB / 0.681 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5167/0.5186, allocations: 86.97 MB / 0.7659 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.00263/0.5213, allocations: 1.348 MB / 0.7672 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001603/0.5214, allocations: 51.8 kB / 0.7673 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.5215, allocations: 4 kB / 0.7673 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.5217, allocations: 11.94 kB / 0.7673 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.5218, allocations: 11.92 kB / 0.7673 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.419e-06/0.5218, allocations: 0 / 0.7673 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.115e-05/0.5219, allocations: 27.84 kB / 0.7673 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.5219, allocations: 0 / 0.7673 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.985e-05/0.522, allocations: 11.98 kB / 0.7673 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.234e-05/0.522, allocations: 7.938 kB / 0.7673 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.522, allocations: 0 / 0.7673 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.907e-05/0.5221, allocations: 16 kB / 0.7673 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.5221, allocations: 4 kB / 0.7673 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.5222, allocations: 19.86 kB / 0.7674 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.5223, allocations: 31.7 kB / 0.7674 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5223, allocations: 0 / 0.7674 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5223, allocations: 0 / 0.7674 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5223, allocations: 3.938 kB / 0.7674 GB, free: 2.32 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003394/0.5227, allocations: 340.6 kB / 0.7677 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.5227, allocations: 8.031 kB / 0.7677 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.948e-05/0.5227, allocations: 30.75 kB / 0.7678 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.5228, allocations: 8.891 kB / 0.7678 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.523, allocations: 180.3 kB / 0.7679 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-06/0.523, allocations: 384 / 0.7679 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.523, allocations: 384 / 0.7679 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.402e-05/0.5231, allocations: 34.25 kB / 0.768 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.5231, allocations: 3.938 kB / 0.768 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.5231, allocations: 4 kB / 0.768 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.5231, allocations: 0 / 0.768 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.182e-05/0.5232, allocations: 7.938 kB / 0.768 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.5233, allocations: 153.7 kB / 0.7681 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.597e-05/0.5233, allocations: 22.56 kB / 0.7682 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.5234, allocations: 8.922 kB / 0.7682 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.5234, allocations: 4 kB / 0.7682 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.5234, allocations: 30.56 kB / 0.7682 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.5234, allocations: 0 / 0.7682 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001279/0.5236, allocations: 45.53 kB / 0.7682 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.5236, allocations: 55.53 kB / 0.7683 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.954e-05/0.5237, allocations: 117.8 kB / 0.7684 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.5237, allocations: 25.7 kB / 0.7684 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.5238, allocations: 88.12 kB / 0.7685 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.5238, allocations: 0 / 0.7685 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.5238, allocations: 13.72 kB / 0.7685 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.5239, allocations: 314.8 kB / 0.7688 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.095e-05/0.524, allocations: 0 / 0.7688 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.528e-06/0.524, allocations: 8 kB / 0.7688 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.84e-05/0.524, allocations: 12.84 kB / 0.7688 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.524, allocations: 3.938 kB / 0.7689 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.821e-05/0.5241, allocations: 41.66 kB / 0.7689 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.5241, allocations: 11.88 kB / 0.7689 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.5241, allocations: 0 / 0.7689 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.5241, allocations: 0 / 0.7689 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.482e-05/0.5242, allocations: 4 kB / 0.7689 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.5242, allocations: 0 / 0.7689 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.458e-05/0.5242, allocations: 8.078 kB / 0.7689 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.5242, allocations: 0 / 0.7689 GB, free: 0.5352 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.638e-05/0.5243, allocations: 112.2 kB / 0.769 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.5243, allocations: 3.938 kB / 0.769 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.983e-05/0.5244, allocations: 53.09 kB / 0.7691 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5244, allocations: 3.938 kB / 0.7691 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5244, allocations: 0 / 0.7691 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.5244, allocations: 0 / 0.7691 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.916e-05/0.5245, allocations: 153.7 kB / 0.7692 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.5245, allocations: 4.031 kB / 0.7692 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/0.5246, allocations: 4 kB / 0.7692 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.5246, allocations: 3.938 kB / 0.7692 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.5246, allocations: 0 / 0.7692 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5246, allocations: 0 / 0.7692 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5246, allocations: 0 / 0.7692 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.961e-05/0.5247, allocations: 65.08 kB / 0.7693 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.5247, allocations: 85.14 kB / 0.7694 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.5248, allocations: 3.938 kB / 0.7694 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.156e-05/0.5248, allocations: 7.938 kB / 0.7694 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.5248, allocations: 3.984 kB / 0.7694 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.5248, allocations: 0 / 0.7694 GB, free: 15.94 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.277e-05/0.5249, allocations: 91.28 kB / 0.7695 GB, free: 15.85 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5249, allocations: 0 / 0.7695 GB, free: 15.85 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001884/0.5251, allocations: 4 kB / 0.7695 GB, free: 15.85 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004192/0.5255, allocations: 0.6294 MB / 0.7701 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.114e-05/0.5256, allocations: 7.938 kB / 0.7701 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5256, allocations: 4.094 kB / 0.7701 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/0.5256, allocations: 8 kB / 0.7701 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.5257, allocations: 3.938 kB / 0.7701 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008932/0.5266, allocations: 1.099 MB / 0.7712 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.5269, allocations: 0.6768 MB / 0.7719 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.931e-05/0.527, allocations: 4 kB / 0.7719 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.527, allocations: 11.42 kB / 0.7719 GB, free: 13.27 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.527, allocations: 0 / 0.7719 GB, free: 13.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.5439, allocations: 1.417 MB / 0.7733 GB, free: 12 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.442/7.986, allocations: 1.125 kB / 0.7733 GB, free: 12 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)