Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.333/2.333, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001155/0.001155, allocations: 177.1 kB / 498.1 MB, free: 5.758 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.58/1.58, allocations: 223.1 MB / 0.7948 GB, free: 18.98 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.001082/0.001081, allocations: 94.23 kB / 0.9346 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.0004039, allocations: 9.594 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3119, allocations: 142.4 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/0.5179, allocations: 151.2 MB / 1.371 GB, free: 2.125 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/0.5183, allocations: 91.92 kB / 1.371 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01676/0.5351, allocations: 5.35 MB / 1.376 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5352, allocations: 0 / 1.376 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.731e-05/0.5352, allocations: 4 kB / 1.376 GB, free: 12.67 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006341/0.5358, allocations: 414.9 kB / 1.376 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.5359, allocations: 8.031 kB / 1.376 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/0.536, allocations: 34.55 kB / 1.376 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.5361, allocations: 19.8 kB / 1.376 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.5363, allocations: 187.7 kB / 1.377 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.5364, allocations: 8 kB / 1.377 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.5364, allocations: 0 / 1.377 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.5366, allocations: 69.61 kB / 1.377 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.5366, allocations: 0 / 1.377 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.5366, allocations: 4 kB / 1.377 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.5366, allocations: 0 / 1.377 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.5368, allocations: 51.92 kB / 1.377 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.5373, allocations: 312.8 kB / 1.377 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.5374, allocations: 58.5 kB / 1.377 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.5374, allocations: 4 kB / 1.377 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.5375, allocations: 30.56 kB / 1.377 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.5375, allocations: 0 / 1.377 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5): time 0.0003951/0.5379, allocations: 129.6 kB / 1.377 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.5379, allocations: 55.41 kB / 1.377 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.5381, allocations: 122.6 kB / 1.377 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.5381, allocations: 25.7 kB / 1.377 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.5381, allocations: 96.08 kB / 1.377 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.5382, allocations: 11.75 kB / 1.377 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.5382, allocations: 0 / 1.377 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5383, allocations: 322.8 kB / 1.378 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.861e-05/0.5384, allocations: 27.98 kB / 1.378 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.818e-05/0.5385, allocations: 27.98 kB / 1.378 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.97e-05/0.5386, allocations: 23.98 kB / 1.378 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5386, allocations: 0 / 1.378 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002487/0.5388, allocations: 105.6 kB / 1.378 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.5388, allocations: 5.406 kB / 1.378 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5389, allocations: 0 / 1.378 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5389, allocations: 0 / 1.378 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.539, allocations: 19.98 kB / 1.378 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.539, allocations: 3.953 kB / 1.378 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.5391, allocations: 11.94 kB / 1.378 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.5391, allocations: 4.422 kB / 1.378 GB, free: 10.3 MB / 0.8855 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 (6): * Single equations (assignments): 6 * 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 8.913e-05/0.5392, allocations: 113.8 kB / 1.378 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.5393, allocations: 7.906 kB / 1.378 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.5396, allocations: 117.9 kB / 1.378 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.5396, allocations: 7.984 kB / 1.378 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5396, allocations: 0 / 1.378 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5396, allocations: 3.953 kB / 1.378 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.5398, allocations: 185.5 kB / 1.378 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5398, allocations: 0 / 1.378 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.09e-05/0.5399, allocations: 19.92 kB / 1.378 GB, free: 9.785 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5399, allocations: 4 kB / 1.378 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.5399, allocations: 0 / 1.378 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5399, allocations: 4 kB / 1.378 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5399, allocations: 0 / 1.378 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.5402, allocations: 195.4 kB / 1.379 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.5403, allocations: 81.11 kB / 1.379 GB, free: 9.473 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.5403, allocations: 4 kB / 1.379 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.729e-05/0.5404, allocations: 7.984 kB / 1.379 GB, free: 9.461 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.5405, allocations: 4 kB / 1.379 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.5405, allocations: 0 / 1.379 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.942e-05/0.5405, allocations: 108.7 kB / 1.379 GB, free: 9.352 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5405, allocations: 0 / 1.379 GB, free: 9.352 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002537/0.5408, allocations: 24 kB / 1.379 GB, free: 9.328 MB / 0.8855 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 (6): * Single equations (assignments): 6 * 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.0006884/0.5415, allocations: 0.7628 MB / 1.38 GB, free: 8.539 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.5417, allocations: 63.97 kB / 1.38 GB, free: 8.477 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5417, allocations: 0 / 1.38 GB, free: 8.477 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.5418, allocations: 39.91 kB / 1.38 GB, free: 8.438 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.5421, allocations: 8 kB / 1.38 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007454/0.5429, allocations: 436.7 kB / 1.38 GB, free: 7.953 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.5432, allocations: 0.7053 MB / 1.381 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.793e-05/0.5432, allocations: 4.188 kB / 1.381 GB, free: 7.219 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.5433, allocations: 19.42 kB / 1.381 GB, free: 7.199 MB / 0.8855 GB Notification: Performance of SimCode: time 4.9e-07/0.5433, allocations: 4 kB / 1.381 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.5617, allocations: 1.973 MB / 1.383 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003367/0.5621, allocations: 187.2 kB / 1.383 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.294, allocations: 2.109 kB / 1.383 GB, free: 5.141 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat does not exist to compare? outputFormat=mat