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.001047/0.001048, allocations: 105.4 kB / 15.7 MB, free: 24 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.001021/0.001021, allocations: 195.1 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.364/1.364, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.665/1.665, 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.002806/0.002807, allocations: 73.19 kB / 0.6718 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.225, allocations: 114.6 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.5699/0.7949, allocations: 163.2 MB / 0.943 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005122/0.8001, allocations: 4.58 MB / 0.9475 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004725/0.8007, allocations: 9.812 kB / 0.9475 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004535/0.8012, allocations: 120.4 kB / 0.9476 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.8026, allocations: 0.5437 MB / 0.9482 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.8046, allocations: 0.7713 MB / 0.9489 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008285/0.8054, allocations: 0.5764 MB / 0.9495 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003767/0.8058, allocations: 208.9 kB / 0.9497 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.8069, allocations: 473.1 kB / 0.9501 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000672/0.8076, allocations: 283.3 kB / 0.9504 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.343e-05/0.8077, allocations: 21.72 kB / 0.9504 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.8098, allocations: 0.9994 MB / 0.9514 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.81, allocations: 93.66 kB / 0.9515 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.8101, allocations: 127.1 kB / 0.9516 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.8112, allocations: 0.72 MB / 0.9523 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8112, allocations: 1.375 kB / 0.9523 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8112, allocations: 0 / 0.9523 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.8113, allocations: 3.938 kB / 0.9523 GB, free: 1.051 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.0009177/0.8122, allocations: 0.5834 MB / 0.9529 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.8122, allocations: 12.8 kB / 0.9529 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.183e-05/0.8123, allocations: 52.84 kB / 0.953 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006215/0.8129, allocations: 84.34 kB / 0.953 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.8133, allocations: 290.3 kB / 0.9533 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.8133, allocations: 16.88 kB / 0.9533 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.8134, allocations: 19.47 kB / 0.9533 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004395/0.8138, allocations: 290.6 kB / 0.9536 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.8138, allocations: 1.375 kB / 0.9536 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.8139, allocations: 5.062 kB / 0.9536 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.8139, allocations: 9.75 kB / 0.9536 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003946/0.8143, allocations: 210.3 kB / 0.9538 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.8157, allocations: 1.243 MB / 0.9551 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.816, allocations: 179.3 kB / 0.9552 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.8161, allocations: 109.1 kB / 0.9553 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006933/0.8168, allocations: 334.6 kB / 0.9556 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.8169, allocations: 46.31 kB / 0.9557 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.8169, allocations: 0 / 0.9557 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007171/0.8176, allocations: 277.9 kB / 0.956 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.8177, allocations: 159 kB / 0.9561 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.8179, allocations: 281.6 kB / 0.9564 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.818, allocations: 35.42 kB / 0.9564 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.09e-05/0.8181, allocations: 144.6 kB / 0.9565 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.8181, allocations: 49.36 kB / 0.9566 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.9e-05/0.8182, allocations: 48.06 kB / 0.9566 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.8183, allocations: 338.4 kB / 0.957 GB, free: 14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.8185, allocations: 65.86 kB / 0.957 GB, free: 14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.8187, allocations: 154.6 kB / 0.9572 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.819, allocations: 208.3 kB / 0.9574 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.819, allocations: 1.25 kB / 0.9574 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004821/0.8195, allocations: 244.1 kB / 0.9576 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.8195, allocations: 7.844 kB / 0.9576 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.8195, allocations: 5 kB / 0.9576 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.8196, allocations: 2.594 kB / 0.9576 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.8198, allocations: 37.78 kB / 0.9577 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.8198, allocations: 9.719 kB / 0.9577 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.82, allocations: 32.8 kB / 0.9577 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.82, allocations: 13.25 kB / 0.9577 GB, free: 13.74 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.0001237/0.8201, allocations: 142.7 kB / 0.9578 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.8203, allocations: 25.22 kB / 0.9579 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004304/0.8207, allocations: 191.4 kB / 0.9581 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.8207, allocations: 3.688 kB / 0.9581 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.8207, allocations: 5.219 kB / 0.9581 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.8208, allocations: 1.094 kB / 0.9581 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008782/0.8216, allocations: 0.8545 MB / 0.9589 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.8217, allocations: 1.188 kB / 0.9589 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.8218, allocations: 22.52 kB / 0.9589 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.8218, allocations: 10.25 kB / 0.9589 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.8218, allocations: 4.109 kB / 0.9589 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.8218, allocations: 2.719 kB / 0.9589 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.8218, allocations: 5.344 kB / 0.9589 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005281/0.8224, allocations: 336.3 kB / 0.9593 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.135e-05/0.8225, allocations: 117.6 kB / 0.9594 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.8225, allocations: 9.125 kB / 0.9594 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.8227, allocations: 8.062 kB / 0.9594 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.8227, allocations: 12.06 kB / 0.9594 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.8227, allocations: 8.344 kB / 0.9594 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002124/0.823, allocations: 233.8 kB / 0.9596 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.823, allocations: 0 / 0.9596 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005131/0.8235, allocations: 96.86 kB / 0.9597 GB, free: 12.47 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.001192/0.8247, allocations: 0.9936 MB / 0.9607 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003897/0.8251, allocations: 149.5 kB / 0.9608 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.8251, allocations: 1.188 kB / 0.9608 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.8253, allocations: 64.16 kB / 0.9609 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007418/0.826, allocations: 134.2 kB / 0.961 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.8291, allocations: 2.755 MB / 0.9637 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.8294, allocations: 0.7656 MB / 0.9645 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001986/0.8296, allocations: 59.19 kB / 0.9645 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.638e-05/0.8298, allocations: 78.42 kB / 0.9646 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.8298, allocations: 0 / 0.9646 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.8544, allocations: 8.563 MB / 0.973 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/8.696, allocations: 7.25 kB / 0.973 GB, free: 6.855 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)