Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_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.005796/0.005796, allocations: 98.08 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 199.2 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002173/0.002173, allocations: 287.1 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9149/0.9149, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 96.27 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1433, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.4452/0.5886, allocations: 163.2 MB / 0.9253 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004877/0.5935, allocations: 4.581 MB / 0.9298 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003419/0.5939, allocations: 11.94 kB / 0.9298 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004279/0.5943, allocations: 127 kB / 0.9299 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.5956, allocations: 0.5562 MB / 0.9305 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.5973, allocations: 0.7839 MB / 0.9312 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0006196/0.5979, allocations: 0.5768 MB / 0.9318 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003368/0.5982, allocations: 213.2 kB / 0.932 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008692/0.5991, allocations: 482.2 kB / 0.9325 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004797/0.5996, allocations: 294.1 kB / 0.9327 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.5996, allocations: 16 kB / 0.9328 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.6011, allocations: 1.002 MB / 0.9337 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 9.124e-05/0.6012, allocations: 91.72 kB / 0.9338 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.6014, allocations: 127.4 kB / 0.9339 GB, free: 7.066 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0009165/0.6023, allocations: 0.7227 MB / 0.9346 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6023, allocations: 3.938 kB / 0.9346 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6023, allocations: 0 / 0.9346 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.6023, allocations: 0 / 0.9346 GB, free: 6.34 MB / 0.6856 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.0008323/0.6032, allocations: 0.6029 MB / 0.9352 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.6032, allocations: 8.031 kB / 0.9352 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.941e-05/0.6033, allocations: 54.55 kB / 0.9353 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006283/0.6039, allocations: 83.62 kB / 0.9354 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/0.6043, allocations: 303.4 kB / 0.9357 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.6043, allocations: 19.95 kB / 0.9357 GB, free: 5.18 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.675e-05/0.6044, allocations: 23.94 kB / 0.9357 GB, free: 5.156 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/0.6049, allocations: 279.5 kB / 0.936 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.6049, allocations: 0 / 0.936 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.6049, allocations: 8 kB / 0.936 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.6049, allocations: 15.92 kB / 0.936 GB, free: 4.832 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000407/0.6053, allocations: 203.8 kB / 0.9362 GB, free: 4.633 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.6068, allocations: 1.242 MB / 0.9374 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.6071, allocations: 173 kB / 0.9376 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.6072, allocations: 112.4 kB / 0.9377 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006945/0.6079, allocations: 335.2 kB / 0.938 GB, free: 2.586 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.608, allocations: 30.56 kB / 0.938 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.608, allocations: 0 / 0.938 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0007396/0.6087, allocations: 285.7 kB / 0.9383 GB, free: 2.262 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.6088, allocations: 162.2 kB / 0.9385 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.6091, allocations: 283 kB / 0.9387 GB, free: 1.785 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.6091, allocations: 29.7 kB / 0.9388 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 9.608e-05/0.6092, allocations: 151.9 kB / 0.9389 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.6092, allocations: 47.58 kB / 0.9389 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-05/0.6093, allocations: 45.61 kB / 0.939 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6094, allocations: 346.8 kB / 0.9393 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.6096, allocations: 68.5 kB / 0.9394 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.6098, allocations: 138.9 kB / 0.9395 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.6102, allocations: 215.5 kB / 0.9397 GB, free: 0.6836 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.6102, allocations: 0 / 0.9397 GB, free: 0.6836 MB / 0.6856 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004908/0.6107, allocations: 242.7 kB / 0.9399 GB, free: 452 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.6107, allocations: 4.25 kB / 0.94 GB, free: 448 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6107, allocations: 8 kB / 0.94 GB, free: 440 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.6107, allocations: 4 kB / 0.94 GB, free: 436 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.6109, allocations: 39.91 kB / 0.94 GB, free: 396 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.611, allocations: 4 kB / 0.94 GB, free: 392 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.6111, allocations: 32.14 kB / 0.94 GB, free: 360 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.6112, allocations: 19.88 kB / 0.9401 GB, free: 340 kB / 0.6856 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.0001233/0.6113, allocations: 145.8 kB / 0.9402 GB, free: 184 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.6115, allocations: 27.86 kB / 0.9402 GB, free: 156 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004384/0.6119, allocations: 193.6 kB / 0.9404 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.6119, allocations: 4 kB / 0.9404 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6119, allocations: 0 / 0.9404 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.612, allocations: 4 kB / 0.9404 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009009/0.6129, allocations: 0.8588 MB / 0.9413 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6129, allocations: 0 / 0.9413 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.613, allocations: 27.92 kB / 0.9413 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.613, allocations: 3.938 kB / 0.9413 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.613, allocations: 4 kB / 0.9413 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.613, allocations: 4 kB / 0.9413 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.613, allocations: 2.312 kB / 0.9413 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005069/0.6135, allocations: 339.6 kB / 0.9416 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 9.029e-05/0.6136, allocations: 116.9 kB / 0.9417 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.6137, allocations: 8.062 kB / 0.9417 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.6139, allocations: 8 kB / 0.9417 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.6139, allocations: 11.92 kB / 0.9418 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.6139, allocations: 4 kB / 0.9418 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002072/0.6141, allocations: 237.9 kB / 0.942 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6141, allocations: 0 / 0.942 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004426/0.6146, allocations: 99.8 kB / 0.9421 GB, free: 14.11 MB / 0.7012 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.001147/0.6157, allocations: 0.9909 MB / 0.943 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003791/0.6161, allocations: 165.6 kB / 0.9432 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.6161, allocations: 0 / 0.9432 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.6163, allocations: 55.91 kB / 0.9433 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000726/0.617, allocations: 136 kB / 0.9434 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.62, allocations: 2.769 MB / 0.9461 GB, free: 9.832 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.6203, allocations: 0.7595 MB / 0.9468 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001809/0.6205, allocations: 63.19 kB / 0.9469 GB, free: 8.984 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.6206, allocations: 75.41 kB / 0.947 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of SimCode: time 5.21e-07/0.6206, allocations: 0 / 0.947 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06858/0.6892, allocations: 8.621 MB / 0.9554 GB, free: 488 kB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/8.462, allocations: 12 kB / 0.9554 GB, free: 476 kB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)