Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HANaturalCylinder,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.179/2.179, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001081/0.001081, allocations: 192.8 kB / 487.4 MB, free: 5.078 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.467/1.467, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009067/0.0009069, allocations: 91.61 kB / 0.9219 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.92e-05/2.909e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2893, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.233/1.522, allocations: 372.6 MB / 1.57 GB, free: 0.6172 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003678/1.522, allocations: 90.19 kB / 1.57 GB, free: 0.5664 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.03468/1.557, allocations: 14.09 MB / 1.584 GB, free: 5.391 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.813e-06/1.557, allocations: 0 / 1.584 GB, free: 5.391 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.091e-05/1.557, allocations: 0 / 1.584 GB, free: 5.391 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008979/1.558, allocations: 465.6 kB / 1.584 GB, free: 4.902 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/1.558, allocations: 11.97 kB / 1.584 GB, free: 4.891 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/1.558, allocations: 11.91 kB / 1.584 GB, free: 4.879 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/1.558, allocations: 182.8 kB / 1.584 GB, free: 4.66 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/1.558, allocations: 4 kB / 1.584 GB, free: 4.656 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/1.558, allocations: 11.98 kB / 1.584 GB, free: 4.645 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002705/1.559, allocations: 88.61 kB / 1.585 GB, free: 4.59 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/1.559, allocations: 82.03 kB / 1.585 GB, free: 4.52 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.559, allocations: 0 / 1.585 GB, free: 4.52 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/1.559, allocations: 7.391 kB / 1.585 GB, free: 4.516 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.559, allocations: 0 / 1.585 GB, free: 4.516 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000995/1.56, allocations: 433.4 kB / 1.585 GB, free: 4.113 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/1.56, allocations: 93.62 kB / 1.585 GB, free: 4.043 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.468e-05/1.56, allocations: 44.73 kB / 1.585 GB, free: 4.012 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001419/1.562, allocations: 0.9739 MB / 1.586 GB, free: 2.949 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/1.562, allocations: 42.48 kB / 1.586 GB, free: 2.898 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/1.562, allocations: 0 / 1.586 GB, free: 2.898 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12): time 0.0004638/1.562, allocations: 125.1 kB / 1.586 GB, free: 2.793 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/1.562, allocations: 55.39 kB / 1.586 GB, free: 2.727 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/1.562, allocations: 146 kB / 1.586 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/1.562, allocations: 25.7 kB / 1.587 GB, free: 2.566 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.69e-05/1.563, allocations: 106.9 kB / 1.587 GB, free: 2.465 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/1.563, allocations: 38.77 kB / 1.587 GB, free: 2.43 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/1.563, allocations: 0 / 1.587 GB, free: 2.43 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.563, allocations: 329.6 kB / 1.587 GB, free: 2.105 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.697e-05/1.563, allocations: 44.12 kB / 1.587 GB, free: 2.078 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/1.563, allocations: 79.23 kB / 1.587 GB, free: 2.012 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/1.563, allocations: 129.4 kB / 1.587 GB, free: 1.914 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.564, allocations: 0 / 1.587 GB, free: 1.914 MB / 0.9948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006439/1.564, allocations: 247.9 kB / 1.587 GB, free: 1.711 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.564, allocations: 5.562 kB / 1.587 GB, free: 1.707 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/1.564, allocations: 4.047 kB / 1.587 GB, free: 1.703 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/1.564, allocations: 8 kB / 1.587 GB, free: 1.695 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/1.565, allocations: 59.89 kB / 1.588 GB, free: 1.637 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/1.565, allocations: 4.703 kB / 1.588 GB, free: 1.633 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/1.565, allocations: 27.83 kB / 1.588 GB, free: 1.605 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/1.565, allocations: 7.875 kB / 1.588 GB, free: 1.602 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001021/1.565, allocations: 110 kB / 1.588 GB, free: 1.488 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003238/1.565, allocations: 140.3 kB / 1.588 GB, free: 1.367 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/1.565, allocations: 11.86 kB / 1.588 GB, free: 1.355 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003838/1.566, allocations: 144.5 kB / 1.588 GB, free: 1.238 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/1.566, allocations: 0 / 1.588 GB, free: 1.238 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.566, allocations: 0 / 1.588 GB, free: 1.238 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/1.566, allocations: 0 / 1.588 GB, free: 1.238 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/1.566, allocations: 197 kB / 1.588 GB, free: 1.027 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.566, allocations: 0 / 1.588 GB, free: 1.027 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/1.566, allocations: 35.91 kB / 1.588 GB, free: 0.9922 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/1.566, allocations: 4 kB / 1.588 GB, free: 0.9883 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/1.566, allocations: 7.891 kB / 1.588 GB, free: 0.9805 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/1.566, allocations: 3.984 kB / 1.588 GB, free: 0.9766 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.566, allocations: 0 / 1.588 GB, free: 0.9766 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/1.566, allocations: 230.4 kB / 1.588 GB, free: 0.7617 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/1.567, allocations: 96.72 kB / 1.588 GB, free: 0.6523 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/1.567, allocations: 4 kB / 1.588 GB, free: 0.6484 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/1.567, allocations: 15.94 kB / 1.589 GB, free: 0.6328 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/1.567, allocations: 11.98 kB / 1.589 GB, free: 0.6211 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/1.567, allocations: 0 / 1.589 GB, free: 0.6211 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 8.258e-05/1.567, allocations: 120.1 kB / 1.589 GB, free: 0.5156 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.567, allocations: 0 / 1.589 GB, free: 0.5156 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003469/1.567, allocations: 67.86 kB / 1.589 GB, free: 464 kB / 0.9948 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.001014/1.568, allocations: 0.8254 MB / 1.59 GB, free: 15.62 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002462/1.569, allocations: 121.8 kB / 1.59 GB, free: 15.54 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.569, allocations: 0 / 1.59 GB, free: 15.54 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 8.101e-05/1.569, allocations: 39.44 kB / 1.59 GB, free: 15.51 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/1.569, allocations: 23.8 kB / 1.59 GB, free: 15.49 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/1.57, allocations: 201.6 kB / 1.59 GB, free: 15.27 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/1.57, allocations: 0.7125 MB / 1.591 GB, free: 14.54 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001073/1.57, allocations: 21.14 kB / 1.591 GB, free: 14.52 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.137e-05/1.57, allocations: 38.3 kB / 1.591 GB, free: 14.5 MB / 1.01 GB Notification: Performance of SimCode: time 2.41e-07/1.57, allocations: 0 / 1.591 GB, free: 14.5 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/1.594, allocations: 3.619 MB / 1.594 GB, free: 10.91 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/1.595, allocations: 169.4 kB / 1.594 GB, free: 10.71 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/3.466, allocations: 0 / 1.594 GB, free: 10.71 MB / 1.01 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat does not exist to compare? outputFormat=mat