Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.001135/0.001135, 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.001111/0.001111, allocations: 200.2 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.384/1.384, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.64/1.64, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001351/0.001351, allocations: 65.34 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2137, allocations: 114.6 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6219/0.8356, allocations: 161.4 MB / 0.9412 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004758/0.8404, allocations: 4.559 MB / 0.9457 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004361/0.841, allocations: 10.09 kB / 0.9457 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004425/0.8414, allocations: 117.8 kB / 0.9458 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007763/0.8422, allocations: 333.3 kB / 0.9461 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007201/0.843, allocations: 278.9 kB / 0.9464 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006321/0.8436, allocations: 0.5537 MB / 0.9469 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003181/0.8439, allocations: 211.5 kB / 0.9471 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000889/0.8448, allocations: 453.4 kB / 0.9475 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.8451, allocations: 191.3 kB / 0.9477 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.69e-05/0.8452, allocations: 20.38 kB / 0.9477 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.8453, allocations: 77.03 kB / 0.9478 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.8455, allocations: 93.66 kB / 0.9479 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.8456, allocations: 116.8 kB / 0.948 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.846, allocations: 307.5 kB / 0.9483 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.846, allocations: 0.5312 kB / 0.9483 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.953e-06/0.846, allocations: 0 / 0.9483 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.846, allocations: 1.938 kB / 0.9483 GB, free: 1.383 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009122/0.847, allocations: 0.5343 MB / 0.9488 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.847, allocations: 10.03 kB / 0.9488 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.021e-05/0.8471, allocations: 51.14 kB / 0.9489 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.793e-05/0.8472, allocations: 29.38 kB / 0.9489 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.8476, allocations: 290 kB / 0.9492 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.8476, allocations: 14.97 kB / 0.9492 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.8477, allocations: 20.66 kB / 0.9492 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/0.8481, allocations: 260 kB / 0.9495 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.8481, allocations: 0.6562 kB / 0.9495 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.8482, allocations: 14.61 kB / 0.9495 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.8482, allocations: 5.219 kB / 0.9495 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.8486, allocations: 144.9 kB / 0.9496 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.8499, allocations: 1.37 MB / 0.951 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.8502, allocations: 185.3 kB / 0.9512 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.8504, allocations: 93.59 kB / 0.9512 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003541/0.8507, allocations: 119.5 kB / 0.9514 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.8508, allocations: 44.47 kB / 0.9514 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.8508, allocations: 0 / 0.9514 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006325/0.8514, allocations: 212.9 kB / 0.9516 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.623e-05/0.8515, allocations: 184.7 kB / 0.9518 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.8518, allocations: 287.6 kB / 0.9521 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.8518, allocations: 29.02 kB / 0.9521 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.771e-05/0.8519, allocations: 152.4 kB / 0.9522 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.852, allocations: 34.27 kB / 0.9523 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.852, allocations: 39.08 kB / 0.9523 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.8521, allocations: 336.4 kB / 0.9526 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.8523, allocations: 48.12 kB / 0.9527 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.8525, allocations: 120.4 kB / 0.9528 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.8527, allocations: 153.9 kB / 0.9529 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.8527, allocations: 1.094 kB / 0.9529 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003599/0.8531, allocations: 193 kB / 0.9531 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.8531, allocations: 10.77 kB / 0.9531 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.8531, allocations: 1.094 kB / 0.9531 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.8532, allocations: 3.375 kB / 0.9531 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.8533, allocations: 34.86 kB / 0.9532 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.8533, allocations: 2.281 kB / 0.9532 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.8535, allocations: 29.94 kB / 0.9532 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.8535, allocations: 9.797 kB / 0.9532 GB, free: 13.99 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0001302/0.8536, allocations: 148.1 kB / 0.9533 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.8538, allocations: 31.61 kB / 0.9534 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/0.8541, allocations: 130.4 kB / 0.9535 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.8542, allocations: 4.984 kB / 0.9535 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.8542, allocations: 3.312 kB / 0.9535 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.8542, allocations: 1.875 kB / 0.9535 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008125/0.855, allocations: 0.7739 MB / 0.9543 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.855, allocations: 1.781 kB / 0.9543 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.8552, allocations: 24.61 kB / 0.9543 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.8552, allocations: 2.531 kB / 0.9543 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.8552, allocations: 2.938 kB / 0.9543 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.8552, allocations: 1.531 kB / 0.9543 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.8552, allocations: 9.75 kB / 0.9543 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004995/0.8557, allocations: 341.9 kB / 0.9546 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.914e-05/0.8558, allocations: 109.2 kB / 0.9547 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.8559, allocations: 2.25 kB / 0.9547 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.856, allocations: 10.86 kB / 0.9547 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.856, allocations: 11.59 kB / 0.9548 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.8561, allocations: 3.906 kB / 0.9548 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002043/0.8563, allocations: 211.7 kB / 0.955 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8563, allocations: 4.062 kB / 0.955 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003622/0.8566, allocations: 53.78 kB / 0.955 GB, free: 12.75 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.0009727/0.8576, allocations: 0.9235 MB / 0.9559 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003355/0.858, allocations: 124.4 kB / 0.956 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.858, allocations: 0 / 0.956 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.8582, allocations: 58.95 kB / 0.9561 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007156/0.8589, allocations: 130.7 kB / 0.9562 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.862, allocations: 2.601 MB / 0.9588 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.8623, allocations: 0.7567 MB / 0.9595 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001447/0.8625, allocations: 53.19 kB / 0.9595 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.578e-05/0.8626, allocations: 68.52 kB / 0.9596 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of SimCode: time 1.132e-06/0.8626, allocations: 0 / 0.9596 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/0.888, allocations: 6.804 MB / 0.9663 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/8.743, allocations: 1.625 kB / 0.9663 GB, free: 9.008 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)