Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.344/2.344, allocations: 390.3 MB / 405.3 MB, free: 13.26 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 178.2 kB / 498.1 MB, free: 5.523 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.2 MB / 0.7948 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008766/0.0008766, allocations: 100.1 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003579, allocations: 11.53 kB / 1.084 GB, free: 220.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3193, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1858/0.5052, allocations: 151.2 MB / 1.371 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.5055, allocations: 91.94 kB / 1.371 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009722/0.5152, allocations: 3.346 MB / 1.374 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5153, allocations: 0 / 1.374 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.5153, allocations: 0 / 1.374 GB, free: 7.379 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004724/0.5158, allocations: 384 kB / 1.374 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.5158, allocations: 12.03 kB / 1.374 GB, free: 6.945 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.523e-05/0.5159, allocations: 38.55 kB / 1.374 GB, free: 6.898 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003029/0.5162, allocations: 27.92 kB / 1.374 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.5164, allocations: 174.9 kB / 1.375 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.5164, allocations: 3.938 kB / 1.375 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.5164, allocations: 0 / 1.375 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.5167, allocations: 93.56 kB / 1.375 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.5167, allocations: 0 / 1.375 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.5167, allocations: 0 / 1.375 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.5167, allocations: 0 / 1.375 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.517, allocations: 75.95 kB / 1.375 GB, free: 6.484 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.5175, allocations: 316.6 kB / 1.375 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.5178, allocations: 82.47 kB / 1.375 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.5178, allocations: 4 kB / 1.375 GB, free: 6.031 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.5179, allocations: 30.56 kB / 1.375 GB, free: 5.992 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.5179, allocations: 0 / 1.375 GB, free: 5.992 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005342/0.5184, allocations: 153.6 kB / 1.375 GB, free: 5.836 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.453e-05/0.5184, allocations: 51.41 kB / 1.375 GB, free: 5.773 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.726e-05/0.5186, allocations: 105 kB / 1.375 GB, free: 5.664 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.5186, allocations: 29.7 kB / 1.375 GB, free: 5.629 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.5186, allocations: 96.12 kB / 1.376 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.5187, allocations: 11.8 kB / 1.376 GB, free: 5.52 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.5187, allocations: 3.938 kB / 1.376 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.5188, allocations: 318.8 kB / 1.376 GB, free: 5.195 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.5189, allocations: 31.97 kB / 1.376 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.5191, allocations: 44.14 kB / 1.376 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.5192, allocations: 35.97 kB / 1.376 GB, free: 5.086 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5192, allocations: 0 / 1.376 GB, free: 5.086 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003265/0.5196, allocations: 113.6 kB / 1.376 GB, free: 4.969 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.5196, allocations: 8 kB / 1.376 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.5196, allocations: 0 / 1.376 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.5196, allocations: 0 / 1.376 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.5198, allocations: 23.92 kB / 1.376 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.5198, allocations: 0 / 1.376 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.28e-05/0.5199, allocations: 11.98 kB / 1.376 GB, free: 4.926 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.5199, allocations: 7.938 kB / 1.376 GB, free: 4.918 MB / 0.8698 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.014e-05/0.52, allocations: 117.8 kB / 1.376 GB, free: 4.793 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.52, allocations: 3.906 kB / 1.376 GB, free: 4.789 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.5201, allocations: 7.906 kB / 1.376 GB, free: 4.777 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.5201, allocations: 3.984 kB / 1.376 GB, free: 4.773 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5201, allocations: 7.953 kB / 1.376 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.5201, allocations: 0 / 1.376 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.5203, allocations: 189.6 kB / 1.376 GB, free: 4.531 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5203, allocations: 0 / 1.376 GB, free: 4.531 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.5204, allocations: 15.98 kB / 1.376 GB, free: 4.516 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.5205, allocations: 0 / 1.376 GB, free: 4.516 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.5205, allocations: 3.984 kB / 1.376 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5205, allocations: 0 / 1.376 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5205, allocations: 0 / 1.376 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.5209, allocations: 215.3 kB / 1.377 GB, free: 4.285 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.5209, allocations: 81.05 kB / 1.377 GB, free: 4.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.5209, allocations: 0 / 1.377 GB, free: 4.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.5211, allocations: 19.98 kB / 1.377 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.5211, allocations: 7.938 kB / 1.377 GB, free: 4.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.5211, allocations: 7.984 kB / 1.377 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.307e-05/0.5212, allocations: 91.67 kB / 1.377 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5212, allocations: 0 / 1.377 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002725/0.5215, allocations: 35.98 kB / 1.377 GB, free: 4.027 MB / 0.8698 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007379/0.5222, allocations: 0.7707 MB / 1.378 GB, free: 3.23 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003319/0.5226, allocations: 87.88 kB / 1.378 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5226, allocations: 0 / 1.378 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.5227, allocations: 43.97 kB / 1.378 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.5229, allocations: 4.328 kB / 1.378 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/0.5235, allocations: 232.1 kB / 1.378 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.5238, allocations: 0.6887 MB / 1.379 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.317e-05/0.5239, allocations: 20.39 kB / 1.379 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.5239, allocations: 27.36 kB / 1.379 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/0.5239, allocations: 0 / 1.379 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.5373, allocations: 1.799 MB / 1.38 GB, free: 412 kB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.5375, allocations: 188.5 kB / 1.381 GB, free: 164 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/2.167, allocations: 0 / 1.381 GB, free: 164 kB / 0.8698 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat does not exist to compare? outputFormat=mat