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.67/1.67, allocations: 288.2 MB / 303.2 MB, free: 8.148 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.001506/0.001506, allocations: 170.2 kB / 371.8 MB, free: 10.28 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.752/1.752, allocations: 205.4 MB / 0.6305 GB, free: 9.992 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.0009551/0.0009548, allocations: 91.64 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004509/0.0004511, allocations: 12.56 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2693, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.8493/1.119, allocations: 137 MB / 1.113 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005541/1.124, allocations: 3.582 MB / 1.117 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003791/1.125, allocations: 7.781 kB / 1.117 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007775/1.126, allocations: 151.8 kB / 1.117 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001415/1.127, allocations: 366.2 kB / 1.117 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002181/1.129, allocations: 0.5668 MB / 1.118 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.000686/1.13, allocations: 348.6 kB / 1.118 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004633/1.13, allocations: 164.3 kB / 1.118 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/1.131, allocations: 328 kB / 1.119 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006077/1.132, allocations: 222.3 kB / 1.119 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/1.132, allocations: 9.688 kB / 1.119 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/1.133, allocations: 435 kB / 1.119 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/1.134, allocations: 75.27 kB / 1.119 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/1.134, allocations: 72.27 kB / 1.119 GB, free: 17.34 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006514/1.134, allocations: 353.5 kB / 1.12 GB, free: 17.31 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.134, allocations: 7.938 kB / 1.12 GB, free: 17.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.166e-06/1.134, allocations: 0 / 1.12 GB, free: 17.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.486e-06/1.134, allocations: 0 / 1.12 GB, free: 17.3 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.001102/1.136, allocations: 0.5366 MB / 1.12 GB, free: 16.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/1.136, allocations: 8.969 kB / 1.12 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.623e-05/1.136, allocations: 52.64 kB / 1.12 GB, free: 16.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007354/1.136, allocations: 81.78 kB / 1.12 GB, free: 16.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/1.137, allocations: 269.3 kB / 1.121 GB, free: 16.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/1.137, allocations: 14.62 kB / 1.121 GB, free: 16.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/1.137, allocations: 22.42 kB / 1.121 GB, free: 16.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/1.138, allocations: 292.8 kB / 1.121 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/1.138, allocations: 1.188 kB / 1.121 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/1.138, allocations: 7.188 kB / 1.121 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/1.138, allocations: 5.219 kB / 1.121 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004748/1.138, allocations: 218.7 kB / 1.121 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/1.14, allocations: 1.27 MB / 1.122 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/1.14, allocations: 194.4 kB / 1.123 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004019/1.141, allocations: 139.6 kB / 1.123 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/1.141, allocations: 39.91 kB / 1.123 GB, free: 15.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 3.216e-06/1.141, allocations: 0 / 1.123 GB, free: 15.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0009363/1.142, allocations: 326.6 kB / 1.123 GB, free: 15.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/1.142, allocations: 163 kB / 1.123 GB, free: 15.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/1.142, allocations: 284.9 kB / 1.123 GB, free: 14.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/1.142, allocations: 26.7 kB / 1.124 GB, free: 14.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/1.142, allocations: 143.5 kB / 1.124 GB, free: 14.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/1.142, allocations: 50.45 kB / 1.124 GB, free: 14.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/1.142, allocations: 4.438 kB / 1.124 GB, free: 14.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.143, allocations: 337.7 kB / 1.124 GB, free: 14.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/1.143, allocations: 77.58 kB / 1.124 GB, free: 14.51 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/1.143, allocations: 161.9 kB / 1.124 GB, free: 14.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/1.143, allocations: 108.5 kB / 1.124 GB, free: 14.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.143, allocations: 1.5 kB / 1.124 GB, free: 14.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006135/1.144, allocations: 274.1 kB / 1.125 GB, free: 14.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/1.144, allocations: 10.83 kB / 1.125 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/1.144, allocations: 1.312 kB / 1.125 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/1.144, allocations: 7.844 kB / 1.125 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/1.144, allocations: 44.31 kB / 1.125 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/1.144, allocations: 5.25 kB / 1.125 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/1.145, allocations: 38.84 kB / 1.125 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.158e-05/1.145, allocations: 12.28 kB / 1.125 GB, free: 14.32 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.0001549/1.145, allocations: 142.9 kB / 1.125 GB, free: 14.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/1.145, allocations: 30.44 kB / 1.125 GB, free: 14.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005833/1.145, allocations: 240.5 kB / 1.125 GB, free: 14.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-06/1.145, allocations: 2.375 kB / 1.125 GB, free: 14.13 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.145, allocations: 1 kB / 1.125 GB, free: 14.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/1.146, allocations: 1.406 kB / 1.125 GB, free: 14.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/1.147, allocations: 0.9293 MB / 1.126 GB, free: 13.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.147, allocations: 2.625 kB / 1.126 GB, free: 13.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/1.147, allocations: 33.05 kB / 1.126 GB, free: 13.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.147, allocations: 0 / 1.126 GB, free: 13.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/1.147, allocations: 7.203 kB / 1.126 GB, free: 13.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/1.147, allocations: 10.75 kB / 1.126 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.147, allocations: 0 / 1.126 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000741/1.148, allocations: 485.4 kB / 1.127 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/1.148, allocations: 116.9 kB / 1.127 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/1.148, allocations: 6 kB / 1.127 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/1.148, allocations: 14.56 kB / 1.127 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/1.148, allocations: 10.91 kB / 1.127 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/1.148, allocations: 11.12 kB / 1.127 GB, free: 13.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000221/1.148, allocations: 216.9 kB / 1.127 GB, free: 13 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.148, allocations: 1.969 kB / 1.127 GB, free: 13 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005357/1.149, allocations: 100.9 kB / 1.127 GB, free: 12.98 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 (12): * Single equations (assignments): 12 * 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.001629/1.151, allocations: 1.456 MB / 1.128 GB, free: 11.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004969/1.151, allocations: 196 kB / 1.129 GB, free: 11.81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.151, allocations: 0 / 1.129 GB, free: 11.81 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/1.151, allocations: 91.92 kB / 1.129 GB, free: 11.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000874/1.152, allocations: 133.9 kB / 1.129 GB, free: 11.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/1.155, allocations: 2.838 MB / 1.132 GB, free: 9.891 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/1.156, allocations: 0.7632 MB / 1.132 GB, free: 9.195 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002807/1.156, allocations: 72.84 kB / 1.132 GB, free: 9.176 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/1.156, allocations: 72.72 kB / 1.132 GB, free: 9.168 MB / 0.698 GB Notification: Performance of SimCode: time 2.334e-06/1.156, allocations: 0 / 1.132 GB, free: 9.168 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/1.182, allocations: 8.097 MB / 1.14 GB, free: 5.66 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/1.183, allocations: 224.6 kB / 1.141 GB, free: 5.422 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/3.284, allocations: 3.938 kB / 1.141 GB, free: 5.418 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)