Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6895/0.6895, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 185.3 kB / 187.3 MB, free: 11.9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 221.3 MB / 441.4 MB, free: 4.676 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00083/0.00083, allocations: 99.28 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001697/0.001697, allocations: 261.1 kB / 0.5939 GB, free: 8 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.035e-05/3.037e-05, allocations: 4 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3452, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.451/3.796, allocations: 1.826 GB / 2.591 GB, free: 222.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/3.797, allocations: 88.67 kB / 2.591 GB, free: 222.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3413/4.138, allocations: 210.4 MB / 2.796 GB, free: 7.801 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.072e-06/4.138, allocations: 3.938 kB / 2.796 GB, free: 7.797 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.738e-05/4.138, allocations: 8 kB / 2.796 GB, free: 7.789 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006983/4.139, allocations: 0.5677 MB / 2.797 GB, free: 7.176 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/4.139, allocations: 8.031 kB / 2.797 GB, free: 7.168 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/4.139, allocations: 50.55 kB / 2.797 GB, free: 7.109 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/4.139, allocations: 31.62 kB / 2.797 GB, free: 7.078 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/4.139, allocations: 275.5 kB / 2.797 GB, free: 6.766 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/4.139, allocations: 16 kB / 2.797 GB, free: 6.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/4.139, allocations: 24 kB / 2.797 GB, free: 6.727 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/4.14, allocations: 234.5 kB / 2.798 GB, free: 6.457 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/4.14, allocations: 3.938 kB / 2.798 GB, free: 6.453 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/4.14, allocations: 8 kB / 2.798 GB, free: 6.445 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/4.14, allocations: 4 kB / 2.798 GB, free: 6.441 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/4.14, allocations: 120.4 kB / 2.798 GB, free: 6.324 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008103/4.141, allocations: 1.368 MB / 2.799 GB, free: 4.867 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/4.141, allocations: 155.7 kB / 2.799 GB, free: 4.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.956e-05/4.141, allocations: 81.27 kB / 2.799 GB, free: 4.562 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000216/4.141, allocations: 117.1 kB / 2.799 GB, free: 4.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/4.141, allocations: 50.39 kB / 2.799 GB, free: 4.371 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/4.141, allocations: 0 / 2.799 GB, free: 4.371 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0002838/4.141, allocations: 133.2 kB / 2.8 GB, free: 4.234 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/4.141, allocations: 183.9 kB / 2.8 GB, free: 4.012 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/4.142, allocations: 259.3 kB / 2.8 GB, free: 3.754 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/4.142, allocations: 29.7 kB / 2.8 GB, free: 3.719 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/4.142, allocations: 152.3 kB / 2.8 GB, free: 3.566 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/4.142, allocations: 39.45 kB / 2.8 GB, free: 3.527 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/4.142, allocations: 0 / 2.8 GB, free: 3.527 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.5e-05/4.142, allocations: 334.8 kB / 2.8 GB, free: 3.191 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.593e-05/4.142, allocations: 31.98 kB / 2.8 GB, free: 3.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.001e-05/4.142, allocations: 111.5 kB / 2.801 GB, free: 3.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.077e-05/4.142, allocations: 43.97 kB / 2.801 GB, free: 2.977 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/4.142, allocations: 0 / 2.801 GB, free: 2.977 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000175/4.142, allocations: 161.2 kB / 2.801 GB, free: 2.812 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/4.142, allocations: 5.406 kB / 2.801 GB, free: 2.809 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/4.142, allocations: 4 kB / 2.801 GB, free: 2.805 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/4.142, allocations: 7.953 kB / 2.801 GB, free: 2.797 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/4.142, allocations: 31.92 kB / 2.801 GB, free: 2.766 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/4.142, allocations: 8.203 kB / 2.801 GB, free: 2.758 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/4.142, allocations: 35.83 kB / 2.801 GB, free: 2.723 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/4.143, allocations: 7.984 kB / 2.801 GB, free: 2.715 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 4.632e-05/4.143, allocations: 120.9 kB / 2.801 GB, free: 2.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/4.143, allocations: 23.72 kB / 2.801 GB, free: 2.566 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/4.143, allocations: 95 kB / 2.801 GB, free: 2.469 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/4.143, allocations: 3.953 kB / 2.801 GB, free: 2.465 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/4.143, allocations: 8.25 kB / 2.801 GB, free: 2.457 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/4.143, allocations: 3.984 kB / 2.801 GB, free: 2.453 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005372/4.143, allocations: 0.769 MB / 2.802 GB, free: 1.609 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/4.143, allocations: 0 / 2.802 GB, free: 1.609 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/4.144, allocations: 28.14 kB / 2.802 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/4.144, allocations: 4 kB / 2.802 GB, free: 1.578 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/4.144, allocations: 8 kB / 2.802 GB, free: 1.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/4.144, allocations: 0 / 2.802 GB, free: 1.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/4.144, allocations: 4 kB / 2.802 GB, free: 1.566 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/4.144, allocations: 351.9 kB / 2.802 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/4.144, allocations: 112.9 kB / 2.802 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/4.144, allocations: 15.95 kB / 2.802 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/4.144, allocations: 11.98 kB / 2.802 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/4.144, allocations: 11.98 kB / 2.802 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/4.144, allocations: 4 kB / 2.802 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001414/4.144, allocations: 203.1 kB / 2.803 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/4.144, allocations: 0 / 2.803 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004864/4.145, allocations: 148 kB / 2.803 GB, free: 0.6445 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.3364/4.481, allocations: 2.105 MB / 2.805 GB, free: 197.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002728/4.482, allocations: 85.86 kB / 2.805 GB, free: 197.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/4.482, allocations: 0 / 2.805 GB, free: 197.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.619e-05/4.482, allocations: 50.39 kB / 2.805 GB, free: 197.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007201/4.482, allocations: 120.2 kB / 2.805 GB, free: 197.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008379/4.483, allocations: 442.4 kB / 2.805 GB, free: 197.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/4.483, allocations: 0.7608 MB / 2.806 GB, free: 196.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001535/4.484, allocations: 51.72 kB / 2.806 GB, free: 196.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.944e-05/4.484, allocations: 71.52 kB / 2.806 GB, free: 196.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.213e-06/4.484, allocations: 0 / 2.806 GB, free: 196.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03899/4.523, allocations: 24.78 MB / 2.831 GB, free: 196.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/4.523, allocations: 209 kB / 2.831 GB, free: 195.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/6.971, allocations: 0 / 2.831 GB, free: 195.9 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)