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.001151/0.001151, allocations: 108 kB / 15.6 MB, free: 132 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.001238/0.001238, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.437/1.437, allocations: 205.1 MB / 222.4 MB, free: 4.551 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.717/1.717, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001422/0.001422, allocations: 67.59 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2493, allocations: 114.6 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.7001/0.9494, allocations: 163.2 MB / 0.9429 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006767/0.9562, allocations: 4.589 MB / 0.9474 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007881/0.9571, allocations: 10.78 kB / 0.9474 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005055/0.9577, allocations: 124 kB / 0.9475 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.9593, allocations: 0.5369 MB / 0.948 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.9619, allocations: 0.7591 MB / 0.9487 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.963, allocations: 0.5815 MB / 0.9493 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005047/0.9635, allocations: 217 kB / 0.9495 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.9651, allocations: 458.5 kB / 0.95 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009188/0.9661, allocations: 290.7 kB / 0.9502 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.584e-05/0.9662, allocations: 18.31 kB / 0.9503 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003391/0.9696, allocations: 0.9973 MB / 0.9512 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.9698, allocations: 92.27 kB / 0.9513 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.9701, allocations: 124.8 kB / 0.9514 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.9721, allocations: 0.7131 MB / 0.9521 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.9721, allocations: 3.938 kB / 0.9521 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.468e-06/0.9722, allocations: 1.469 kB / 0.9521 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.642e-05/0.9722, allocations: 5.203 kB / 0.9521 GB, free: 0.9766 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.001479/0.9737, allocations: 0.5898 MB / 0.9527 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.322e-05/0.9737, allocations: 13.44 kB / 0.9527 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.007e-05/0.9738, allocations: 51.95 kB / 0.9528 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007426/0.9746, allocations: 77.81 kB / 0.9529 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.975, allocations: 284.8 kB / 0.9531 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.975, allocations: 15.38 kB / 0.9531 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.9751, allocations: 20.44 kB / 0.9532 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005077/0.9756, allocations: 286.5 kB / 0.9534 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.9756, allocations: 1.156 kB / 0.9534 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.9756, allocations: 9.344 kB / 0.9534 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.9756, allocations: 7.906 kB / 0.9534 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004268/0.9761, allocations: 210.5 kB / 0.9536 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.9779, allocations: 1.251 MB / 0.9549 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.9782, allocations: 172 kB / 0.955 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.9784, allocations: 117.1 kB / 0.9551 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008251/0.9793, allocations: 328 kB / 0.9555 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.9793, allocations: 43.94 kB / 0.9555 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/0.9793, allocations: 0 / 0.9555 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007627/0.9801, allocations: 275 kB / 0.9558 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.9802, allocations: 163.1 kB / 0.9559 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.9805, allocations: 285.8 kB / 0.9562 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.9805, allocations: 27.27 kB / 0.9562 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.9807, allocations: 149.1 kB / 0.9564 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.9807, allocations: 49.05 kB / 0.9564 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.9808, allocations: 46.98 kB / 0.9565 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.9809, allocations: 338.7 kB / 0.9568 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.9811, allocations: 67.25 kB / 0.9568 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.9813, allocations: 144.8 kB / 0.957 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003883/0.9817, allocations: 212.6 kB / 0.9572 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.9817, allocations: 1.062 kB / 0.9572 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005366/0.9823, allocations: 247.2 kB / 0.9574 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.9823, allocations: 11.81 kB / 0.9574 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.9823, allocations: 2.719 kB / 0.9574 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.9823, allocations: 3.312 kB / 0.9574 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.9826, allocations: 40.33 kB / 0.9575 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.9826, allocations: 2.656 kB / 0.9575 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.9828, allocations: 30.55 kB / 0.9575 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/0.9828, allocations: 13.16 kB / 0.9575 GB, free: 13.67 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.0001501/0.983, allocations: 155.6 kB / 0.9577 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.9831, allocations: 24.34 kB / 0.9577 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004812/0.9836, allocations: 186.2 kB / 0.9579 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.9837, allocations: 5.75 kB / 0.9579 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.9837, allocations: 4.844 kB / 0.9579 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.9837, allocations: 2 kB / 0.9579 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.9848, allocations: 0.8489 MB / 0.9587 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.9848, allocations: 1.125 kB / 0.9587 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.985, allocations: 29.45 kB / 0.9587 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.985, allocations: 5.969 kB / 0.9587 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.985, allocations: 5 kB / 0.9587 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.985, allocations: 4.625 kB / 0.9587 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.985, allocations: 5.406 kB / 0.9588 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006147/0.9856, allocations: 342.7 kB / 0.9591 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.9858, allocations: 118.9 kB / 0.9592 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.9858, allocations: 2.906 kB / 0.9592 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.986, allocations: 14.2 kB / 0.9592 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.986, allocations: 10.19 kB / 0.9592 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.9861, allocations: 4.062 kB / 0.9592 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003238/0.9864, allocations: 235.4 kB / 0.9594 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9864, allocations: 8 kB / 0.9595 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000649/0.9871, allocations: 98.25 kB / 0.9596 GB, free: 12.39 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.001633/0.9887, allocations: 0.9884 MB / 0.9605 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004764/0.9892, allocations: 152.8 kB / 0.9607 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9892, allocations: 0 / 0.9607 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.9894, allocations: 57.92 kB / 0.9607 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000804/0.9902, allocations: 133.4 kB / 0.9608 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/0.994, allocations: 2.773 MB / 0.9636 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.9945, allocations: 0.7562 MB / 0.9643 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002766/0.9948, allocations: 74.48 kB / 0.9644 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.9949, allocations: 81.5 kB / 0.9644 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of SimCode: time 8.12e-07/0.9949, allocations: 1.094 kB / 0.9644 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/1.024, allocations: 8.544 MB / 0.9728 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/9.065, allocations: 11.92 kB / 0.9728 GB, free: 6.762 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)