Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.267/2.267, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.0013/0.0013, allocations: 178.5 kB / 498.1 MB, free: 5.668 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.589/1.589, allocations: 223.1 MB / 0.7948 GB, free: 17.87 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.001155/0.001155, allocations: 96.33 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0003999, allocations: 17.22 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3201, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1938/0.5139, allocations: 151.7 MB / 1.371 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.5142, allocations: 87.95 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0236/0.5379, allocations: 7.659 MB / 1.379 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.916e-06/0.5379, allocations: 0 / 1.379 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.718e-05/0.538, allocations: 8 kB / 1.379 GB, free: 2.398 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001251/0.5392, allocations: 0.6075 MB / 1.379 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.5393, allocations: 8.031 kB / 1.379 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.286e-05/0.5394, allocations: 54.48 kB / 1.379 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002659/0.5397, allocations: 35.61 kB / 1.379 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.5402, allocations: 298.6 kB / 1.38 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.5403, allocations: 12.28 kB / 1.38 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.5403, allocations: 16 kB / 1.38 GB, free: 1.273 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005417/0.5409, allocations: 252.7 kB / 1.38 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.5409, allocations: 3.938 kB / 1.38 GB, free: 1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.5409, allocations: 11.98 kB / 1.38 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.5409, allocations: 4 kB / 1.38 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00068/0.5416, allocations: 239.8 kB / 1.38 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.543, allocations: 0.9657 MB / 1.381 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000806/0.5438, allocations: 261.2 kB / 1.381 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.5439, allocations: 7.938 kB / 1.381 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.5439, allocations: 34.56 kB / 1.381 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.5439, allocations: 0 / 1.381 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.001218/0.5451, allocations: 397.4 kB / 1.382 GB, free: 15 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.5452, allocations: 81.11 kB / 1.382 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.5454, allocations: 234.2 kB / 1.382 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.5455, allocations: 25.7 kB / 1.382 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.5456, allocations: 164.1 kB / 1.382 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.5457, allocations: 63.12 kB / 1.382 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.5457, allocations: 4 kB / 1.382 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5458, allocations: 338.8 kB / 1.383 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/0.5462, allocations: 111.9 kB / 1.383 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/0.5465, allocations: 161.9 kB / 1.383 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.5469, allocations: 120.5 kB / 1.383 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.5469, allocations: 4 kB / 1.383 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008461/0.5477, allocations: 337.1 kB / 1.383 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.5478, allocations: 4 kB / 1.383 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.5478, allocations: 4 kB / 1.383 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.5478, allocations: 0 / 1.383 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.5481, allocations: 71.89 kB / 1.383 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.5482, allocations: 8.047 kB / 1.383 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.5484, allocations: 51.88 kB / 1.383 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.5485, allocations: 8 kB / 1.383 GB, free: 13.17 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 0.0001394/0.5486, allocations: 137.7 kB / 1.384 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.5487, allocations: 27.72 kB / 1.384 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008267/0.5496, allocations: 335.1 kB / 1.384 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5496, allocations: 288 / 1.384 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5496, allocations: 0 / 1.384 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.5496, allocations: 7.984 kB / 1.384 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.55, allocations: 301.2 kB / 1.384 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.55, allocations: 0 / 1.384 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.5503, allocations: 63.95 kB / 1.384 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5503, allocations: 0 / 1.384 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.5504, allocations: 8 kB / 1.384 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5504, allocations: 0 / 1.384 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.5504, allocations: 0 / 1.384 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008615/0.5513, allocations: 0.4897 MB / 1.385 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-05/0.5514, allocations: 112.6 kB / 1.385 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.5514, allocations: 0 / 1.385 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.5517, allocations: 39.95 kB / 1.385 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.5518, allocations: 19.97 kB / 1.385 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.5518, allocations: 12 kB / 1.385 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001897/0.552, allocations: 190 kB / 1.385 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.1e-07/0.552, allocations: 0 / 1.385 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003739/0.5524, allocations: 60.19 kB / 1.385 GB, free: 11.29 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001328/0.5537, allocations: 1.127 MB / 1.386 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007808/0.5545, allocations: 263.9 kB / 1.387 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5545, allocations: 0 / 1.387 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003637/0.5549, allocations: 139.9 kB / 1.387 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.5554, allocations: 85.19 kB / 1.387 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.557, allocations: 1.663 MB / 1.388 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.5573, allocations: 0.7597 MB / 1.389 GB, free: 7.113 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001752/0.5575, allocations: 30.44 kB / 1.389 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.5577, allocations: 83.41 kB / 1.389 GB, free: 6.996 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.5577, allocations: 4 kB / 1.389 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.5786, allocations: 5.731 MB / 1.395 GB, free: 1.48 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.5788, allocations: 186.3 kB / 1.395 GB, free: 1.242 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/2.865, allocations: 2.812 kB / 1.395 GB, free: 1.242 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat does not exist to compare? outputFormat=mat