Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",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.6804/0.6804, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.0009417/0.0009416, allocations: 183.8 kB / 187.3 MB, free: 11.88 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.617 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.0007918/0.0007918, allocations: 96.98 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001591/0.001591, allocations: 280.5 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.631e-05/2.637e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.325, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.417/3.742, allocations: 1.827 GB / 2.592 GB, free: 179.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/3.743, allocations: 90.81 kB / 2.592 GB, free: 179.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6914/4.434, allocations: 224.7 MB / 2.811 GB, free: 202.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.22e-07/4.434, allocations: 0 / 2.811 GB, free: 202.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.765e-05/4.434, allocations: 7.719 kB / 2.811 GB, free: 202.7 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000784/4.435, allocations: 0.6179 MB / 2.812 GB, free: 202.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/4.435, allocations: 10.86 kB / 2.812 GB, free: 202.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.385e-05/4.435, allocations: 53.22 kB / 2.812 GB, free: 202.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005424/4.436, allocations: 83.53 kB / 2.812 GB, free: 202.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/4.436, allocations: 287.8 kB / 2.812 GB, free: 201.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/4.436, allocations: 15.09 kB / 2.812 GB, free: 201.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/4.436, allocations: 22.39 kB / 2.812 GB, free: 201.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/4.436, allocations: 256.8 kB / 2.812 GB, free: 201.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/4.436, allocations: 2.562 kB / 2.812 GB, free: 201.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/4.436, allocations: 14.2 kB / 2.812 GB, free: 201.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/4.436, allocations: 5.312 kB / 2.812 GB, free: 201.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/4.437, allocations: 165.5 kB / 2.813 GB, free: 201.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/4.438, allocations: 1.23 MB / 2.814 GB, free: 201 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/4.438, allocations: 152.5 kB / 2.814 GB, free: 200.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/4.438, allocations: 96.89 kB / 2.814 GB, free: 200.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005008/4.438, allocations: 332.6 kB / 2.814 GB, free: 200.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/4.438, allocations: 40.05 kB / 2.814 GB, free: 200.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/4.438, allocations: 0 / 2.814 GB, free: 200.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0003794/4.439, allocations: 188 kB / 2.815 GB, free: 200.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/4.439, allocations: 157.8 kB / 2.815 GB, free: 200.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/4.439, allocations: 253.7 kB / 2.815 GB, free: 200.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/4.439, allocations: 29.52 kB / 2.815 GB, free: 200.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.49e-05/4.439, allocations: 151.9 kB / 2.815 GB, free: 200.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/4.439, allocations: 44.94 kB / 2.815 GB, free: 200.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/4.439, allocations: 7.062 kB / 2.815 GB, free: 200.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.022e-05/4.439, allocations: 333.4 kB / 2.815 GB, free: 199.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.408e-05/4.439, allocations: 50.42 kB / 2.816 GB, free: 199.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/4.439, allocations: 138.6 kB / 2.816 GB, free: 199.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.412e-05/4.44, allocations: 69.27 kB / 2.816 GB, free: 199.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/4.44, allocations: 3.656 kB / 2.816 GB, free: 199.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002923/4.44, allocations: 209.1 kB / 2.816 GB, free: 199.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/4.44, allocations: 12.14 kB / 2.816 GB, free: 199.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/4.44, allocations: 7.75 kB / 2.816 GB, free: 199.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/4.44, allocations: 9.031 kB / 2.816 GB, free: 199.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/4.44, allocations: 42.97 kB / 2.816 GB, free: 199.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/4.44, allocations: 9.016 kB / 2.816 GB, free: 199.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/4.44, allocations: 31.8 kB / 2.816 GB, free: 199.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/4.44, allocations: 16.66 kB / 2.816 GB, free: 199.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 5.468e-05/4.44, allocations: 113.9 kB / 2.816 GB, free: 199.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/4.441, allocations: 26.75 kB / 2.816 GB, free: 199.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/4.441, allocations: 163.9 kB / 2.816 GB, free: 199.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/4.441, allocations: 3.969 kB / 2.816 GB, free: 199.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/4.441, allocations: 0 / 2.816 GB, free: 199.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/4.441, allocations: 3.875 kB / 2.816 GB, free: 199.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005622/4.441, allocations: 0.8236 MB / 2.817 GB, free: 198.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/4.441, allocations: 0 / 2.817 GB, free: 198.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/4.442, allocations: 32.36 kB / 2.817 GB, free: 198.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/4.442, allocations: 0 / 2.817 GB, free: 198.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/4.442, allocations: 3.844 kB / 2.817 GB, free: 198.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/4.442, allocations: 3.875 kB / 2.817 GB, free: 198.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/4.442, allocations: 0 / 2.817 GB, free: 198.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/4.442, allocations: 352 kB / 2.818 GB, free: 198.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.876e-05/4.442, allocations: 131.5 kB / 2.818 GB, free: 198.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/4.442, allocations: 0 / 2.818 GB, free: 198.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/4.442, allocations: 18.2 kB / 2.818 GB, free: 198.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/4.442, allocations: 12.66 kB / 2.818 GB, free: 198.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/4.442, allocations: 3.75 kB / 2.818 GB, free: 198.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001586/4.442, allocations: 232.9 kB / 2.818 GB, free: 198.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/4.442, allocations: 0 / 2.818 GB, free: 198.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005763/4.443, allocations: 184 kB / 2.818 GB, free: 198.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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.001462/4.444, allocations: 2.163 MB / 2.82 GB, free: 197 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002063/4.445, allocations: 117.3 kB / 2.82 GB, free: 197 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/4.445, allocations: 3.375 kB / 2.82 GB, free: 197 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.884e-05/4.445, allocations: 45.5 kB / 2.82 GB, free: 197 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/4.445, allocations: 119.9 kB / 2.82 GB, free: 197 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007072/4.446, allocations: 461.8 kB / 2.821 GB, free: 196.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/4.446, allocations: 0.7689 MB / 2.822 GB, free: 196.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001689/4.446, allocations: 69.36 kB / 2.822 GB, free: 196.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.593e-05/4.446, allocations: 70.14 kB / 2.822 GB, free: 196.1 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/4.446, allocations: 0 / 2.822 GB, free: 196.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/4.479, allocations: 26 MB / 2.847 GB, free: 192.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001309/4.479, allocations: 206.7 kB / 2.847 GB, free: 192.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.506/6.985, allocations: 0 / 2.847 GB, free: 192.1 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)