Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.801/1.801, allocations: 292.6 MB / 307.5 MB, free: 5.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001252/0.001252, allocations: 194.2 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 0.6366 GB, free: 8.648 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 86.47 kB / 0.7509 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.000486, allocations: 12 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3466, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.802/6.148, allocations: 2.063 GB / 3.051 GB, free: 158.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/6.149, allocations: 93.33 kB / 3.051 GB, free: 158.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.122/7.271, allocations: 222.8 MB / 3.269 GB, free: 226.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.817e-06/7.271, allocations: 0 / 3.269 GB, free: 226.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.284e-05/7.271, allocations: 6.531 kB / 3.269 GB, free: 226.8 MB / 0.948 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.002298/7.274, allocations: 0.6466 MB / 3.269 GB, free: 226.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.355e-05/7.274, allocations: 12.42 kB / 3.269 GB, free: 226.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000155/7.274, allocations: 54 kB / 3.269 GB, free: 226.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/7.275, allocations: 75.34 kB / 3.269 GB, free: 226.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008169/7.276, allocations: 293.9 kB / 3.27 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/7.276, allocations: 12.91 kB / 3.27 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.563e-05/7.276, allocations: 25.69 kB / 3.27 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007775/7.277, allocations: 286.4 kB / 3.27 GB, free: 226 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/7.277, allocations: 0 / 3.27 GB, free: 226 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/7.277, allocations: 6.438 kB / 3.27 GB, free: 226 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/7.277, allocations: 6.375 kB / 3.27 GB, free: 226 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006539/7.278, allocations: 202.7 kB / 3.27 GB, free: 226 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/7.28, allocations: 1.234 MB / 3.271 GB, free: 225.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/7.28, allocations: 174.6 kB / 3.272 GB, free: 225 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009277/7.281, allocations: 329.1 kB / 3.272 GB, free: 224.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/7.281, allocations: 36.69 kB / 3.272 GB, free: 224.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 3.637e-06/7.281, allocations: 0 / 3.272 GB, free: 224.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.001208/7.282, allocations: 281.5 kB / 3.272 GB, free: 224.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/7.283, allocations: 171.9 kB / 3.272 GB, free: 224.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004015/7.283, allocations: 249.7 kB / 3.273 GB, free: 224.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/7.283, allocations: 29.64 kB / 3.273 GB, free: 224.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/7.283, allocations: 154.4 kB / 3.273 GB, free: 224.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.947e-05/7.283, allocations: 48.23 kB / 3.273 GB, free: 224.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/7.283, allocations: 384 / 3.273 GB, free: 224.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000107/7.283, allocations: 339.7 kB / 3.273 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/7.284, allocations: 68.61 kB / 3.273 GB, free: 223.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/7.284, allocations: 158.5 kB / 3.273 GB, free: 223.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/7.284, allocations: 90.55 kB / 3.273 GB, free: 223.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/7.284, allocations: 3.906 kB / 3.273 GB, free: 223.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007983/7.285, allocations: 251 kB / 3.274 GB, free: 223.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/7.285, allocations: 6.562 kB / 3.274 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/7.285, allocations: 3.281 kB / 3.274 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/7.285, allocations: 3.25 kB / 3.274 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/7.285, allocations: 42.45 kB / 3.274 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/7.286, allocations: 3.312 kB / 3.274 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004026/7.286, allocations: 43.3 kB / 3.274 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/7.286, allocations: 12.94 kB / 3.274 GB, free: 223.8 MB / 0.948 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 () * Number of clocked 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 0.0002105/7.286, allocations: 149.5 kB / 3.274 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/7.286, allocations: 28.89 kB / 3.274 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000668/7.287, allocations: 184.2 kB / 3.274 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/7.287, allocations: 0 / 3.274 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/7.287, allocations: 3.125 kB / 3.274 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/7.287, allocations: 0 / 3.274 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/7.289, allocations: 0.8573 MB / 3.275 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/7.289, allocations: 7.5 kB / 3.275 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/7.289, allocations: 29.92 kB / 3.275 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/7.289, allocations: 0 / 3.275 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/7.289, allocations: 9.062 kB / 3.275 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/7.289, allocations: 3.375 kB / 3.275 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/7.289, allocations: 1.859 kB / 3.275 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000767/7.29, allocations: 411.4 kB / 3.275 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/7.29, allocations: 118.2 kB / 3.276 GB, free: 222.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/7.29, allocations: 3.312 kB / 3.276 GB, free: 222.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/7.29, allocations: 18.06 kB / 3.276 GB, free: 222.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/7.29, allocations: 10.19 kB / 3.276 GB, free: 222.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/7.29, allocations: 7.281 kB / 3.276 GB, free: 222.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003193/7.291, allocations: 232.4 kB / 3.276 GB, free: 222.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.2e-07/7.291, allocations: 0 / 3.276 GB, free: 222.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0014/7.292, allocations: 193.2 kB / 3.276 GB, free: 222.4 MB / 0.948 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 () * Number of clocked 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.003576/7.296, allocations: 2.196 MB / 3.278 GB, free: 221 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006889/7.296, allocations: 154.6 kB / 3.278 GB, free: 221 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/7.296, allocations: 0 / 3.278 GB, free: 221 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/7.297, allocations: 68.33 kB / 3.278 GB, free: 221 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/7.298, allocations: 121.1 kB / 3.278 GB, free: 221 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/7.302, allocations: 2.772 MB / 3.281 GB, free: 219.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/7.302, allocations: 0.7619 MB / 3.282 GB, free: 218.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004086/7.303, allocations: 72.41 kB / 3.282 GB, free: 218.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/7.303, allocations: 75.05 kB / 3.282 GB, free: 218.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.405e-06/7.303, allocations: 0 / 3.282 GB, free: 218.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05649/7.359, allocations: 23.22 MB / 3.305 GB, free: 216.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/7.36, allocations: 212.9 kB / 3.305 GB, free: 216.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.97/10.33, allocations: 0 / 3.305 GB, free: 216.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)