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.001175/0.001175, allocations: 108 kB / 15.61 MB, free: 152 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.001645/0.001645, allocations: 194.1 kB / 16.53 MB, free: 6.699 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.327/1.327, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.001736/0.001737, allocations: 68.41 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1885, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.466/0.6545, allocations: 161.4 MB / 0.941 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003898/0.6584, allocations: 4.557 MB / 0.9455 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/0.6587, allocations: 10.25 kB / 0.9455 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.6591, allocations: 120.8 kB / 0.9456 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006084/0.6597, allocations: 330.7 kB / 0.9459 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005901/0.6603, allocations: 276.5 kB / 0.9462 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004847/0.6608, allocations: 0.5602 MB / 0.9467 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.6611, allocations: 204.9 kB / 0.9469 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007531/0.6618, allocations: 455.8 kB / 0.9474 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.6621, allocations: 187.3 kB / 0.9476 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.6621, allocations: 19.22 kB / 0.9476 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.6623, allocations: 79.8 kB / 0.9476 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.672e-05/0.6624, allocations: 88.27 kB / 0.9477 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.6625, allocations: 120 kB / 0.9478 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.6628, allocations: 296.5 kB / 0.9481 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6628, allocations: 1.203 kB / 0.9481 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6629, allocations: 0 / 0.9481 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.6629, allocations: 0 / 0.9481 GB, free: 1.41 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.0007454/0.6636, allocations: 0.5377 MB / 0.9487 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.6637, allocations: 9.469 kB / 0.9487 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.6637, allocations: 52.08 kB / 0.9487 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.6638, allocations: 29.31 kB / 0.9487 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.6641, allocations: 272.3 kB / 0.949 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.6641, allocations: 14.41 kB / 0.949 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.6642, allocations: 20.58 kB / 0.949 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/0.6646, allocations: 261.4 kB / 0.9493 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.6646, allocations: 4.5 kB / 0.9493 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.6646, allocations: 9.812 kB / 0.9493 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.6646, allocations: 5 kB / 0.9493 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000339/0.665, allocations: 157.7 kB / 0.9495 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.6661, allocations: 1.367 MB / 0.9508 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.6664, allocations: 186 kB / 0.951 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.6666, allocations: 94.23 kB / 0.9511 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003452/0.6669, allocations: 122.7 kB / 0.9512 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.667, allocations: 40.16 kB / 0.9512 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.667, allocations: 1.734 kB / 0.9512 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006208/0.6676, allocations: 209.8 kB / 0.9514 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/0.6677, allocations: 185.3 kB / 0.9516 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.668, allocations: 291.5 kB / 0.9519 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.668, allocations: 30.52 kB / 0.9519 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.202e-05/0.6681, allocations: 151.8 kB / 0.952 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.6681, allocations: 33.5 kB / 0.9521 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.6682, allocations: 39.12 kB / 0.9521 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.6683, allocations: 332.8 kB / 0.9524 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.6684, allocations: 51.39 kB / 0.9525 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.6686, allocations: 114.1 kB / 0.9526 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.6688, allocations: 160.4 kB / 0.9527 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6688, allocations: 1.062 kB / 0.9527 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003312/0.6692, allocations: 187.6 kB / 0.9529 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.6692, allocations: 9.5 kB / 0.9529 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.6692, allocations: 2.203 kB / 0.9529 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.6692, allocations: 11.33 kB / 0.9529 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.6693, allocations: 30.83 kB / 0.953 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.6694, allocations: 6.531 kB / 0.953 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.6695, allocations: 24.11 kB / 0.953 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.6695, allocations: 12.91 kB / 0.953 GB, free: 14.01 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.000108/0.6696, allocations: 151.1 kB / 0.9532 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.6698, allocations: 28.84 kB / 0.9532 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002947/0.6701, allocations: 132.2 kB / 0.9533 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.6701, allocations: 2.312 kB / 0.9533 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6701, allocations: 4.266 kB / 0.9533 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.6701, allocations: 2.25 kB / 0.9533 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000715/0.6708, allocations: 0.7698 MB / 0.9541 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.6708, allocations: 2.312 kB / 0.9541 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.671, allocations: 23.27 kB / 0.9541 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.671, allocations: 2 kB / 0.9541 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.671, allocations: 7.219 kB / 0.9541 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.671, allocations: 10.08 kB / 0.9541 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.671, allocations: 1.062 kB / 0.9541 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004597/0.6715, allocations: 342.4 kB / 0.9544 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.6716, allocations: 109.8 kB / 0.9545 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.6716, allocations: 4.969 kB / 0.9546 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.6717, allocations: 7.125 kB / 0.9546 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.6718, allocations: 15.44 kB / 0.9546 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.6718, allocations: 8.406 kB / 0.9546 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000166/0.672, allocations: 215.5 kB / 0.9548 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.672, allocations: 1.203 kB / 0.9548 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003272/0.6723, allocations: 59.08 kB / 0.9548 GB, free: 12.77 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.0008453/0.6731, allocations: 0.9017 MB / 0.9557 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003096/0.6735, allocations: 129.2 kB / 0.9558 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6735, allocations: 0 / 0.9558 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.6736, allocations: 63.75 kB / 0.9559 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006813/0.6743, allocations: 134 kB / 0.956 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.6771, allocations: 2.605 MB / 0.9586 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.6774, allocations: 0.7553 MB / 0.9593 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001351/0.6775, allocations: 53.38 kB / 0.9594 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.63e-05/0.6776, allocations: 68.86 kB / 0.9594 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.6776, allocations: 0 / 0.9594 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.091/2.769, allocations: 6.791 MB / 0.9661 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/17.34, allocations: 4.594 kB / 0.9661 GB, free: 8.988 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)