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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 192.8 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 70.81 kB / 0.6718 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2253, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.616/0.8413, allocations: 163.2 MB / 0.943 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005671/0.8471, allocations: 4.578 MB / 0.9475 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005043/0.8476, allocations: 10.53 kB / 0.9475 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.8481, allocations: 125.7 kB / 0.9476 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.8498, allocations: 0.534 MB / 0.9482 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.8519, allocations: 0.7776 MB / 0.9489 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009147/0.8528, allocations: 0.5816 MB / 0.9495 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004355/0.8533, allocations: 209.4 kB / 0.9497 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.8544, allocations: 465.5 kB / 0.9501 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006958/0.8551, allocations: 285.4 kB / 0.9504 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.657e-05/0.8552, allocations: 22.06 kB / 0.9504 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.8573, allocations: 0.9954 MB / 0.9514 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.8574, allocations: 87.64 kB / 0.9515 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.8576, allocations: 125.8 kB / 0.9516 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.8586, allocations: 0.7276 MB / 0.9523 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.8587, allocations: 1.156 kB / 0.9523 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8587, allocations: 0 / 0.9523 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.8587, allocations: 0 / 0.9523 GB, free: 1.016 MB / 0.7169 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.001009/0.8597, allocations: 0.5882 MB / 0.9529 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.8597, allocations: 10.09 kB / 0.9529 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.125e-05/0.8598, allocations: 52.69 kB / 0.9529 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006166/0.8604, allocations: 78.58 kB / 0.953 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.8608, allocations: 302.8 kB / 0.9533 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.8609, allocations: 19.11 kB / 0.9533 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.8609, allocations: 17.25 kB / 0.9533 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.8614, allocations: 289.7 kB / 0.9536 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.8614, allocations: 1 kB / 0.9536 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.8614, allocations: 14.17 kB / 0.9536 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.8614, allocations: 8.406 kB / 0.9536 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.8618, allocations: 204.5 kB / 0.9538 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.8634, allocations: 1.25 MB / 0.9551 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.8637, allocations: 170 kB / 0.9552 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.8639, allocations: 117.7 kB / 0.9553 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007106/0.8646, allocations: 330 kB / 0.9557 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.8646, allocations: 37.12 kB / 0.9557 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.913e-06/0.8646, allocations: 5.094 kB / 0.9557 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007452/0.8654, allocations: 277.3 kB / 0.956 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.8655, allocations: 156.9 kB / 0.9561 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.8658, allocations: 288.8 kB / 0.9564 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.8658, allocations: 30.95 kB / 0.9564 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.759e-05/0.8659, allocations: 148.5 kB / 0.9566 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.8659, allocations: 50.66 kB / 0.9566 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.257e-05/0.866, allocations: 42.94 kB / 0.9566 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.8661, allocations: 339.7 kB / 0.957 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.8663, allocations: 66.73 kB / 0.957 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.8665, allocations: 148.4 kB / 0.9572 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.8669, allocations: 210.5 kB / 0.9574 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8669, allocations: 1.531 kB / 0.9574 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004918/0.8674, allocations: 242.9 kB / 0.9576 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.8674, allocations: 7.094 kB / 0.9576 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.8674, allocations: 1.219 kB / 0.9576 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.8674, allocations: 5.281 kB / 0.9576 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.8676, allocations: 37.94 kB / 0.9577 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.8676, allocations: 5.812 kB / 0.9577 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.8678, allocations: 32.56 kB / 0.9577 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.8679, allocations: 13.16 kB / 0.9577 GB, free: 13.71 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.868, allocations: 153.3 kB / 0.9578 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.8682, allocations: 24.75 kB / 0.9579 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000448/0.8686, allocations: 189.7 kB / 0.9581 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.8686, allocations: 3.25 kB / 0.9581 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.8686, allocations: 0.9062 kB / 0.9581 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.8687, allocations: 2.188 kB / 0.9581 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.8697, allocations: 0.8559 MB / 0.9589 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.8697, allocations: 1.062 kB / 0.9589 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.8698, allocations: 25.75 kB / 0.9589 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.8698, allocations: 6.281 kB / 0.9589 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.8698, allocations: 13.34 kB / 0.9589 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.8699, allocations: 1.938 kB / 0.9589 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.8699, allocations: 2.297 kB / 0.9589 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005793/0.8704, allocations: 340.6 kB / 0.9593 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.8706, allocations: 118.3 kB / 0.9594 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.8706, allocations: 2.531 kB / 0.9594 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.8708, allocations: 10.44 kB / 0.9594 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.8708, allocations: 13.86 kB / 0.9594 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.8708, allocations: 8.031 kB / 0.9594 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002596/0.8711, allocations: 236.4 kB / 0.9596 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8711, allocations: 1.312 kB / 0.9596 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005776/0.8717, allocations: 96.5 kB / 0.9597 GB, free: 12.43 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001425/0.8731, allocations: 0.9843 MB / 0.9607 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004059/0.8735, allocations: 151.7 kB / 0.9608 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.8736, allocations: 1.344 kB / 0.9608 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.8737, allocations: 63.92 kB / 0.9609 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007545/0.8745, allocations: 130.5 kB / 0.961 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003361/0.8778, allocations: 2.762 MB / 0.9637 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.8782, allocations: 0.7573 MB / 0.9645 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002141/0.8784, allocations: 64.44 kB / 0.9645 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.8785, allocations: 82.28 kB / 0.9646 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.8785, allocations: 0 / 0.9646 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.9055, allocations: 8.555 MB / 0.973 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.689, allocations: 10.48 kB / 0.973 GB, free: 6.828 MB / 0.7325 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/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)