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.001108/0.001108, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001624/0.001624, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.423/1.423, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.636/1.636, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001492/0.001492, allocations: 68.16 kB / 0.6711 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2275, allocations: 114.6 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.5794/0.8069, allocations: 161 MB / 0.9402 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005585/0.8125, allocations: 4.552 MB / 0.9447 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006463/0.8132, allocations: 8.156 kB / 0.9447 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006656/0.8139, allocations: 103.5 kB / 0.9448 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.816, allocations: 0.5115 MB / 0.9453 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.8181, allocations: 0.7145 MB / 0.946 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008052/0.819, allocations: 0.5795 MB / 0.9465 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004556/0.8194, allocations: 209.1 kB / 0.9467 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.8205, allocations: 451.4 kB / 0.9472 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006308/0.8212, allocations: 300.8 kB / 0.9474 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.168e-05/0.8212, allocations: 18.06 kB / 0.9475 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.8232, allocations: 1.049 MB / 0.9485 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.8234, allocations: 95.42 kB / 0.9486 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.8236, allocations: 121.8 kB / 0.9487 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.8253, allocations: 0.7704 MB / 0.9494 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8253, allocations: 9.156 kB / 0.9495 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8253, allocations: 0 / 0.9495 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.8254, allocations: 0 / 0.9495 GB, free: 5.797 MB / 0.7325 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.001593/0.827, allocations: 0.594 MB / 0.95 GB, free: 21.34 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.827, allocations: 9.969 kB / 0.95 GB, free: 21.34 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.396e-05/0.8271, allocations: 51.3 kB / 0.9501 GB, free: 21.3 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008254/0.8279, allocations: 80.2 kB / 0.9502 GB, free: 21.28 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.8285, allocations: 286.1 kB / 0.9504 GB, free: 21.06 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.8285, allocations: 17.09 kB / 0.9505 GB, free: 21.06 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.365e-05/0.8286, allocations: 19.53 kB / 0.9505 GB, free: 21.06 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006729/0.8293, allocations: 288.7 kB / 0.9508 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.8293, allocations: 0.5625 kB / 0.9508 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.8293, allocations: 9.719 kB / 0.9508 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.8294, allocations: 13.39 kB / 0.9508 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005438/0.8299, allocations: 203.9 kB / 0.951 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.8318, allocations: 1.249 MB / 0.9522 GB, free: 20.11 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.8321, allocations: 177.2 kB / 0.9524 GB, free: 19.99 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.8324, allocations: 108.8 kB / 0.9525 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008748/0.8333, allocations: 334.2 kB / 0.9528 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.8333, allocations: 38.11 kB / 0.9528 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.934e-06/0.8333, allocations: 0 / 0.9528 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0008728/0.8342, allocations: 282.3 kB / 0.9531 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.943e-05/0.8343, allocations: 157.1 kB / 0.9532 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.8346, allocations: 285 kB / 0.9535 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.8346, allocations: 30.48 kB / 0.9535 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.8348, allocations: 149.8 kB / 0.9537 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.8348, allocations: 50.33 kB / 0.9537 GB, free: 19.13 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/0.8349, allocations: 47.92 kB / 0.9538 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.8351, allocations: 335.5 kB / 0.9541 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.8353, allocations: 69.66 kB / 0.9542 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.8355, allocations: 145.9 kB / 0.9543 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/0.8359, allocations: 211 kB / 0.9545 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.8359, allocations: 1.094 kB / 0.9545 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005727/0.8365, allocations: 241.9 kB / 0.9547 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.8365, allocations: 9.875 kB / 0.9547 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.8365, allocations: 2.875 kB / 0.9547 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.8366, allocations: 3.094 kB / 0.9547 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.8368, allocations: 44.08 kB / 0.9548 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.8368, allocations: 2.406 kB / 0.9548 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.8371, allocations: 32.58 kB / 0.9548 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.8371, allocations: 17.47 kB / 0.9548 GB, free: 18.57 MB / 0.7481 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.0001908/0.8373, allocations: 145.2 kB / 0.955 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.8375, allocations: 30.53 kB / 0.955 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005465/0.8381, allocations: 185.6 kB / 0.9552 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.8381, allocations: 4.984 kB / 0.9552 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.8381, allocations: 3.266 kB / 0.9552 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.8381, allocations: 5.547 kB / 0.9552 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.8392, allocations: 0.8561 MB / 0.956 GB, free: 17.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.8393, allocations: 0.9688 kB / 0.956 GB, free: 17.72 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.8394, allocations: 23.84 kB / 0.9561 GB, free: 17.72 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.8394, allocations: 4.969 kB / 0.9561 GB, free: 17.72 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.8394, allocations: 9.719 kB / 0.9561 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.8395, allocations: 5.062 kB / 0.9561 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.8395, allocations: 2.625 kB / 0.9561 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006067/0.8401, allocations: 333.8 kB / 0.9564 GB, free: 17.53 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.8402, allocations: 120.2 kB / 0.9565 GB, free: 17.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.8403, allocations: 4.781 kB / 0.9565 GB, free: 17.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.8405, allocations: 10.66 kB / 0.9565 GB, free: 17.42 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.8405, allocations: 14.58 kB / 0.9565 GB, free: 17.42 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.8405, allocations: 7.562 kB / 0.9565 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003201/0.8409, allocations: 233.7 kB / 0.9568 GB, free: 17.33 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8409, allocations: 3.938 kB / 0.9568 GB, free: 17.33 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006333/0.8415, allocations: 96.98 kB / 0.9569 GB, free: 17.32 MB / 0.7481 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.001617/0.8431, allocations: 0.983 MB / 0.9578 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005049/0.8437, allocations: 146.2 kB / 0.958 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.8437, allocations: 0.5938 kB / 0.958 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.8438, allocations: 68.8 kB / 0.958 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008846/0.8447, allocations: 135.4 kB / 0.9582 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004596/0.8493, allocations: 2.82 MB / 0.9609 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.8499, allocations: 0.7607 MB / 0.9617 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000407/0.8503, allocations: 74.48 kB / 0.9617 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.8505, allocations: 73.75 kB / 0.9618 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of SimCode: time 9.31e-07/0.8505, allocations: 1.469 kB / 0.9618 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.8747, allocations: 8.387 MB / 0.97 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/0.8749, allocations: 244.5 kB / 0.9702 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/2.964, allocations: 4 kB / 0.9702 GB, free: 13.17 MB / 0.7481 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)