Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.766/1.766, allocations: 288.4 MB / 303.3 MB, free: 8.203 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.001978/0.001978, allocations: 176.5 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.4 MB / 0.6307 GB, free: 9.941 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009733/0.0009732, allocations: 98.28 kB / 0.744 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000488/0.0004883, allocations: 16.14 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2704, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.8125/1.083, allocations: 148.2 MB / 1.124 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006574/1.09, allocations: 4.26 MB / 1.129 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003898/1.09, allocations: 9.25 kB / 1.129 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004517/1.091, allocations: 88.94 kB / 1.129 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001601/1.092, allocations: 381 kB / 1.129 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002035/1.094, allocations: 0.5269 MB / 1.13 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001039/1.095, allocations: 0.6856 MB / 1.13 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/1.096, allocations: 157.5 kB / 1.13 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/1.097, allocations: 364.8 kB / 1.131 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006119/1.097, allocations: 279 kB / 1.131 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/1.097, allocations: 10.91 kB / 1.131 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/1.099, allocations: 0.5069 MB / 1.131 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/1.099, allocations: 82.75 kB / 1.132 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/1.099, allocations: 72.61 kB / 1.132 GB, free: 16.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006026/1.099, allocations: 411.6 kB / 1.132 GB, free: 16.49 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.099, allocations: 3.938 kB / 1.132 GB, free: 16.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.254e-06/1.099, allocations: 0 / 1.132 GB, free: 16.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.262e-06/1.1, allocations: 7.938 kB / 1.132 GB, free: 16.48 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.0008427/1.1, allocations: 0.5546 MB / 1.133 GB, free: 16.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.1, allocations: 7.75 kB / 1.133 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.808e-05/1.1, allocations: 55.28 kB / 1.133 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006353/1.101, allocations: 70.38 kB / 1.133 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/1.101, allocations: 277.5 kB / 1.133 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/1.101, allocations: 17.53 kB / 1.133 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/1.102, allocations: 20.69 kB / 1.133 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004767/1.102, allocations: 293 kB / 1.133 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/1.102, allocations: 0 / 1.133 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/1.102, allocations: 9 kB / 1.133 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/1.102, allocations: 5.094 kB / 1.133 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004122/1.102, allocations: 212.9 kB / 1.133 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/1.104, allocations: 1.258 MB / 1.135 GB, free: 14.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/1.104, allocations: 179.7 kB / 1.135 GB, free: 14.65 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/1.105, allocations: 127.8 kB / 1.135 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007648/1.105, allocations: 337.1 kB / 1.135 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/1.105, allocations: 45.78 kB / 1.135 GB, free: 14.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/1.105, allocations: 0 / 1.135 GB, free: 14.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.000736/1.106, allocations: 294.8 kB / 1.136 GB, free: 14.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/1.106, allocations: 156.8 kB / 1.136 GB, free: 14.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/1.106, allocations: 285.2 kB / 1.136 GB, free: 13.92 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/1.107, allocations: 32.11 kB / 1.136 GB, free: 13.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/1.107, allocations: 140.9 kB / 1.136 GB, free: 13.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/1.107, allocations: 47.3 kB / 1.136 GB, free: 13.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/1.107, allocations: 8.812 kB / 1.136 GB, free: 13.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.107, allocations: 332.5 kB / 1.137 GB, free: 13.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/1.107, allocations: 75.19 kB / 1.137 GB, free: 13.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/1.107, allocations: 156.1 kB / 1.137 GB, free: 13.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/1.107, allocations: 85.3 kB / 1.137 GB, free: 13.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.108, allocations: 384 / 1.137 GB, free: 13.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004861/1.108, allocations: 258.4 kB / 1.137 GB, free: 13.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/1.108, allocations: 5.344 kB / 1.137 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.108, allocations: 2.656 kB / 1.137 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/1.108, allocations: 6.594 kB / 1.137 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/1.108, allocations: 44.11 kB / 1.137 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/1.108, allocations: 4.656 kB / 1.137 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/1.108, allocations: 39.12 kB / 1.137 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/1.109, allocations: 11.28 kB / 1.137 GB, free: 13.27 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 () * 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.0001444/1.109, allocations: 151.1 kB / 1.137 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/1.109, allocations: 28.95 kB / 1.137 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004649/1.109, allocations: 202.7 kB / 1.138 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.109, allocations: 6.938 kB / 1.138 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.109, allocations: 2.75 kB / 1.138 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/1.109, allocations: 3.906 kB / 1.138 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009445/1.11, allocations: 0.8583 MB / 1.138 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.11, allocations: 5.219 kB / 1.138 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/1.11, allocations: 28.22 kB / 1.139 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/1.11, allocations: 2.219 kB / 1.139 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/1.11, allocations: 2.625 kB / 1.139 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/1.11, allocations: 9.266 kB / 1.139 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.11, allocations: 0.9844 kB / 1.139 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006101/1.111, allocations: 354.3 kB / 1.139 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/1.111, allocations: 126.5 kB / 1.139 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/1.111, allocations: 4.812 kB / 1.139 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/1.111, allocations: 17.22 kB / 1.139 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/1.112, allocations: 14.14 kB / 1.139 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/1.112, allocations: 6.344 kB / 1.139 GB, free: 12.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002371/1.112, allocations: 234.1 kB / 1.139 GB, free: 12 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.112, allocations: 96 / 1.139 GB, free: 12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004805/1.112, allocations: 93.91 kB / 1.139 GB, free: 11.99 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 () * 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.001287/1.114, allocations: 0.9835 MB / 1.14 GB, free: 11.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004259/1.114, allocations: 166.5 kB / 1.14 GB, free: 11.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.114, allocations: 1.969 kB / 1.14 GB, free: 11.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/1.114, allocations: 66.05 kB / 1.141 GB, free: 11.22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007936/1.115, allocations: 123.6 kB / 1.141 GB, free: 11.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/1.117, allocations: 1.603 MB / 1.142 GB, free: 10.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/1.118, allocations: 0.7589 MB / 1.143 GB, free: 9.785 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002274/1.118, allocations: 65.53 kB / 1.143 GB, free: 9.754 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/1.118, allocations: 76.81 kB / 1.143 GB, free: 9.734 MB / 0.698 GB Notification: Performance of SimCode: time 5.42e-07/1.118, allocations: 0 / 1.143 GB, free: 9.734 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/1.141, allocations: 7.927 MB / 1.151 GB, free: 5.887 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003481/1.141, allocations: 233 kB / 1.151 GB, free: 5.648 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/3.33, allocations: 0 / 1.151 GB, free: 5.648 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)