Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.493/1.493, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 178.2 kB / 326.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.4 MB / 0.5777 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007806/0.0007805, allocations: 93.67 kB / 0.6822 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003552, allocations: 8.594 kB / 0.7964 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.239, allocations: 106.3 MB / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1833/0.4223, allocations: 148.4 MB / 1.045 GB, free: 11.4 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009883/0.4323, allocations: 4.306 MB / 1.049 GB, free: 7.086 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004493/0.4328, allocations: 7.938 kB / 1.049 GB, free: 7.078 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006393/0.4335, allocations: 91.34 kB / 1.049 GB, free: 6.988 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002362/0.4358, allocations: 374.2 kB / 1.05 GB, free: 6.621 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003024/0.4389, allocations: 0.5228 MB / 1.05 GB, free: 6.102 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0015/0.4404, allocations: 0.6859 MB / 1.051 GB, free: 5.414 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004865/0.4409, allocations: 157.3 kB / 1.051 GB, free: 5.262 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.4425, allocations: 370.5 kB / 1.052 GB, free: 4.898 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008555/0.4433, allocations: 271 kB / 1.052 GB, free: 4.633 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.642e-05/0.4434, allocations: 8 kB / 1.052 GB, free: 4.625 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002137/0.4456, allocations: 0.5106 MB / 1.052 GB, free: 4.113 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.4458, allocations: 83.78 kB / 1.052 GB, free: 4.031 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.4459, allocations: 73.58 kB / 1.052 GB, free: 3.953 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009344/0.4468, allocations: 407.3 kB / 1.053 GB, free: 3.555 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.4469, allocations: 0 / 1.053 GB, free: 3.555 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4469, allocations: 3.938 kB / 1.053 GB, free: 3.551 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.4469, allocations: 0 / 1.053 GB, free: 3.551 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.001192/0.4481, allocations: 0.553 MB / 1.053 GB, free: 2.949 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.4482, allocations: 8.031 kB / 1.053 GB, free: 2.941 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.841e-05/0.4483, allocations: 54.55 kB / 1.053 GB, free: 2.879 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.4493, allocations: 75.55 kB / 1.054 GB, free: 2.805 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005901/0.4499, allocations: 282.5 kB / 1.054 GB, free: 2.488 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.45, allocations: 15.94 kB / 1.054 GB, free: 2.473 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-05/0.45, allocations: 20 kB / 1.054 GB, free: 2.453 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007278/0.4508, allocations: 283.5 kB / 1.054 GB, free: 2.148 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4508, allocations: 0 / 1.054 GB, free: 2.148 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.4508, allocations: 8 kB / 1.054 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.4509, allocations: 11.97 kB / 1.054 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006662/0.4515, allocations: 223.5 kB / 1.054 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.4537, allocations: 1.23 MB / 1.056 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.4541, allocations: 181 kB / 1.056 GB, free: 384 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/0.4545, allocations: 124.2 kB / 1.056 GB, free: 244 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4843/0.9388, allocations: 336.6 kB / 1.056 GB, free: 157.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/0.9389, allocations: 43.73 kB / 1.056 GB, free: 157.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.284e-06/0.9389, allocations: 0 / 1.056 GB, free: 157.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0009989/0.9399, allocations: 291.8 kB / 1.056 GB, free: 157.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.94, allocations: 160.9 kB / 1.057 GB, free: 157.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003557/0.9403, allocations: 280.8 kB / 1.057 GB, free: 157.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.9404, allocations: 29.77 kB / 1.057 GB, free: 157.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.9405, allocations: 145.8 kB / 1.057 GB, free: 157.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.9405, allocations: 44.45 kB / 1.057 GB, free: 157.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-06/0.9406, allocations: 8.125 kB / 1.057 GB, free: 157.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.647e-05/0.9407, allocations: 335.9 kB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.9408, allocations: 74.2 kB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.941, allocations: 147.3 kB / 1.058 GB, free: 156.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.9412, allocations: 91.09 kB / 1.058 GB, free: 156.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.9412, allocations: 0 / 1.058 GB, free: 156.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000464/0.9417, allocations: 252.1 kB / 1.058 GB, free: 156.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.9417, allocations: 6.594 kB / 1.058 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.9418, allocations: 4.875 kB / 1.058 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.9418, allocations: 3 kB / 1.058 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.942, allocations: 46.05 kB / 1.058 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.942, allocations: 5.406 kB / 1.058 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.9422, allocations: 38.75 kB / 1.058 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.9423, allocations: 12.62 kB / 1.058 GB, free: 156.7 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.0001359/0.9424, allocations: 139.4 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.9426, allocations: 26.53 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/0.943, allocations: 209.2 kB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.943, allocations: 2.719 kB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.9431, allocations: 6.188 kB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.9431, allocations: 6.609 kB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008858/0.944, allocations: 0.8519 MB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.944, allocations: 2.906 kB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.9441, allocations: 27.56 kB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.9441, allocations: 4.516 kB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.9441, allocations: 6.531 kB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.9442, allocations: 10.08 kB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.9442, allocations: 4.328 kB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005263/0.9447, allocations: 358.7 kB / 1.06 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.79e-05/0.9448, allocations: 118.2 kB / 1.06 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.9449, allocations: 9 kB / 1.06 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.945, allocations: 15.14 kB / 1.06 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.9451, allocations: 13.03 kB / 1.06 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.9451, allocations: 3.562 kB / 1.06 GB, free: 155.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002119/0.9453, allocations: 230.8 kB / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9453, allocations: 0 / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004681/0.9458, allocations: 89.73 kB / 1.06 GB, free: 155.4 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.001148/0.947, allocations: 0.9833 MB / 1.061 GB, free: 154.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003992/0.9474, allocations: 163.7 kB / 1.061 GB, free: 154.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9474, allocations: 0 / 1.061 GB, free: 154.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.9476, allocations: 68.7 kB / 1.061 GB, free: 154.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008306/0.9484, allocations: 121.1 kB / 1.061 GB, free: 154.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.9508, allocations: 1.575 MB / 1.063 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.9511, allocations: 0.7556 MB / 1.064 GB, free: 153.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002502/0.9513, allocations: 67.38 kB / 1.064 GB, free: 153.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.9515, allocations: 69.06 kB / 1.064 GB, free: 153.3 MB / 0.698 GB Notification: Performance of SimCode: time 3e-07/0.9515, allocations: 2.844 kB / 1.064 GB, free: 153.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04121/0.9927, allocations: 7.794 MB / 1.071 GB, free: 152 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/0.9929, allocations: 237.7 kB / 1.072 GB, free: 151.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/3.078, allocations: 4.625 kB / 1.072 GB, free: 151.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)