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.8195/0.8195, allocations: 141.8 MB / 149.3 MB, free: 9.191 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002102/0.002102, allocations: 188.8 kB / 182.2 MB, free: 9.414 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.41/1.41, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.0009464/0.0009464, allocations: 99.91 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001628/0.001628, allocations: 280.7 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.139e-05/2.141e-05, allocations: 8 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4033, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.699/5.102, allocations: 1.827 GB / 2.584 GB, free: 190.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/5.103, allocations: 90.89 kB / 2.584 GB, free: 190.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9352/6.038, allocations: 221.7 MB / 2.801 GB, free: 204.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.342e-06/6.038, allocations: 3.125 kB / 2.801 GB, free: 204.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.196e-05/6.038, allocations: 10.88 kB / 2.801 GB, free: 204.2 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.001051/6.039, allocations: 0.6104 MB / 2.801 GB, free: 203.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/6.039, allocations: 11.69 kB / 2.801 GB, free: 203.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007026/6.04, allocations: 80.92 kB / 2.801 GB, free: 203.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/6.04, allocations: 288.4 kB / 2.802 GB, free: 203.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/6.04, allocations: 3.906 kB / 2.802 GB, free: 203.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/6.04, allocations: 14.97 kB / 2.802 GB, free: 203.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002449/6.041, allocations: 149.9 kB / 2.802 GB, free: 203.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/6.041, allocations: 236.4 kB / 2.802 GB, free: 203.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/6.041, allocations: 3.562 kB / 2.802 GB, free: 203.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/6.041, allocations: 1.547 kB / 2.802 GB, free: 203.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/6.041, allocations: 3.938 kB / 2.802 GB, free: 203.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/6.043, allocations: 1.448 MB / 2.803 GB, free: 202.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/6.043, allocations: 139.3 kB / 2.804 GB, free: 202.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.649e-05/6.043, allocations: 71.31 kB / 2.804 GB, free: 202.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/6.043, allocations: 112.3 kB / 2.804 GB, free: 202.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/6.043, allocations: 45.72 kB / 2.804 GB, free: 202.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.744e-06/6.043, allocations: 2.844 kB / 2.804 GB, free: 202.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0004158/6.043, allocations: 124.8 kB / 2.804 GB, free: 202.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/6.044, allocations: 164.2 kB / 2.804 GB, free: 202 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/6.044, allocations: 212.6 kB / 2.804 GB, free: 201.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/6.044, allocations: 25.7 kB / 2.804 GB, free: 201.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.124e-05/6.044, allocations: 166.3 kB / 2.804 GB, free: 201.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/6.044, allocations: 36.95 kB / 2.804 GB, free: 201.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/6.044, allocations: 2.875 kB / 2.804 GB, free: 201.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.156e-05/6.044, allocations: 326.9 kB / 2.805 GB, free: 201.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.639e-05/6.044, allocations: 45.33 kB / 2.805 GB, free: 201.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/6.044, allocations: 137 kB / 2.805 GB, free: 201.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/6.044, allocations: 95.2 kB / 2.805 GB, free: 201.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/6.044, allocations: 0 / 2.805 GB, free: 201.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004247/6.045, allocations: 212.6 kB / 2.805 GB, free: 201.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/6.045, allocations: 5.062 kB / 2.805 GB, free: 201.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/6.045, allocations: 3.375 kB / 2.805 GB, free: 201.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/6.045, allocations: 9.672 kB / 2.805 GB, free: 201.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/6.045, allocations: 48.36 kB / 2.805 GB, free: 201.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/6.045, allocations: 2.219 kB / 2.805 GB, free: 201.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/6.045, allocations: 25.36 kB / 2.805 GB, free: 201.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/6.045, allocations: 17.55 kB / 2.805 GB, free: 201.2 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 8.046e-05/6.045, allocations: 108.6 kB / 2.805 GB, free: 201.1 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003306/6.046, allocations: 137 kB / 2.806 GB, free: 201.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/6.046, allocations: 24.86 kB / 2.806 GB, free: 201.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/6.046, allocations: 114.6 kB / 2.806 GB, free: 201.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/6.046, allocations: 3.562 kB / 2.806 GB, free: 201.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/6.046, allocations: 3.25 kB / 2.806 GB, free: 201.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/6.046, allocations: 0 / 2.806 GB, free: 201.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007913/6.047, allocations: 0.7997 MB / 2.806 GB, free: 200.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/6.047, allocations: 3.938 kB / 2.806 GB, free: 200.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/6.047, allocations: 25.05 kB / 2.807 GB, free: 200.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/6.047, allocations: 2.75 kB / 2.807 GB, free: 200.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/6.047, allocations: 2.469 kB / 2.807 GB, free: 200.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/6.047, allocations: 3.844 kB / 2.807 GB, free: 200.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/6.047, allocations: 0 / 2.807 GB, free: 200.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/6.048, allocations: 353.7 kB / 2.807 GB, free: 200.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/6.048, allocations: 118 kB / 2.807 GB, free: 200.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/6.048, allocations: 6.781 kB / 2.807 GB, free: 200.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/6.048, allocations: 11.02 kB / 2.807 GB, free: 200.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/6.048, allocations: 21.97 kB / 2.807 GB, free: 200.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/6.048, allocations: 7.359 kB / 2.807 GB, free: 200.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001162/6.048, allocations: 159.4 kB / 2.807 GB, free: 200 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/6.048, allocations: 2.875 kB / 2.807 GB, free: 200 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006927/6.049, allocations: 166.6 kB / 2.807 GB, free: 200 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.002048/6.051, allocations: 2.309 MB / 2.81 GB, free: 198.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002213/6.051, allocations: 110.4 kB / 2.81 GB, free: 198.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/6.051, allocations: 0 / 2.81 GB, free: 198.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.458e-05/6.051, allocations: 45.72 kB / 2.81 GB, free: 198.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/6.052, allocations: 57.33 kB / 2.81 GB, free: 198.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008312/6.052, allocations: 433.9 kB / 2.81 GB, free: 198.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/6.053, allocations: 0.7663 MB / 2.811 GB, free: 197.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001591/6.053, allocations: 44.72 kB / 2.811 GB, free: 197.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/6.053, allocations: 69.28 kB / 2.811 GB, free: 197.8 MB / 0.698 GB Notification: Performance of SimCode: time 2.91e-07/6.053, allocations: 0 / 2.811 GB, free: 197.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04567/6.099, allocations: 13.21 MB / 2.824 GB, free: 197.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/6.099, allocations: 183 kB / 2.824 GB, free: 197.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/8.545, allocations: 4 kB / 2.824 GB, free: 197.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)