Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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: translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009267/0.009267, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001754, allocations: 262.5 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9428/0.9428, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004597, allocations: 18.2 kB / 0.5987 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.216, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5561/0.7722, allocations: 157 MB / 0.8385 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005842/0.7781, allocations: 4.507 MB / 0.8429 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000318/0.7785, allocations: 7.25 kB / 0.8429 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005188/0.779, allocations: 95.02 kB / 0.843 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.7801, allocations: 313.8 kB / 0.8433 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.7808, allocations: 250.9 kB / 0.8435 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007071/0.7815, allocations: 0.789 MB / 0.8443 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.7818, allocations: 169.5 kB / 0.8444 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009365/0.7828, allocations: 414.6 kB / 0.8448 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.783, allocations: 195.9 kB / 0.845 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.7831, allocations: 9.969 kB / 0.845 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.7832, allocations: 70.95 kB / 0.8451 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.7834, allocations: 79.47 kB / 0.8452 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.7835, allocations: 133.2 kB / 0.8453 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.7838, allocations: 288.3 kB / 0.8456 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7838, allocations: 0 / 0.8456 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7838, allocations: 3.938 kB / 0.8456 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.7838, allocations: 0 / 0.8456 GB, free: 2.828 MB / 0.5606 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.000729/0.7846, allocations: 0.4937 MB / 0.8461 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.7846, allocations: 10.78 kB / 0.8461 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.7847, allocations: 31.06 kB / 0.8461 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.785, allocations: 278.7 kB / 0.8464 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.7851, allocations: 10.72 kB / 0.8464 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.7851, allocations: 17.34 kB / 0.8464 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.7856, allocations: 270.4 kB / 0.8466 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.7856, allocations: 11.88 kB / 0.8467 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.7856, allocations: 10.44 kB / 0.8467 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.7856, allocations: 5.438 kB / 0.8467 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003268/0.7859, allocations: 156.8 kB / 0.8468 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.7872, allocations: 1.382 MB / 0.8482 GB, free: 448 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.7875, allocations: 189.5 kB / 0.8484 GB, free: 252 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.7877, allocations: 101.3 kB / 0.8485 GB, free: 172 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003516/0.7881, allocations: 131.6 kB / 0.8486 GB, free: 56 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.7881, allocations: 41.59 kB / 0.8486 GB, free: 8 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.7881, allocations: 0 / 0.8486 GB, free: 8 kB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006382/0.7887, allocations: 228.7 kB / 0.8488 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/0.7888, allocations: 186.5 kB / 0.849 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.7891, allocations: 288.9 kB / 0.8493 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.7891, allocations: 28.55 kB / 0.8493 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.865e-05/0.7893, allocations: 147 kB / 0.8495 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.7893, allocations: 37.52 kB / 0.8495 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.7893, allocations: 22.61 kB / 0.8495 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.7895, allocations: 332.5 kB / 0.8498 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.7896, allocations: 47.38 kB / 0.8499 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.7898, allocations: 126 kB / 0.85 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.7901, allocations: 164.6 kB / 0.8502 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7901, allocations: 2.562 kB / 0.8502 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003612/0.7905, allocations: 198.8 kB / 0.8503 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.7905, allocations: 13.97 kB / 0.8504 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.7905, allocations: 2.094 kB / 0.8504 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.7905, allocations: 5.031 kB / 0.8504 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.7907, allocations: 31.64 kB / 0.8504 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.7907, allocations: 6.656 kB / 0.8504 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.7909, allocations: 41.88 kB / 0.8504 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.7909, allocations: 4.688 kB / 0.8504 GB, free: 14.52 MB / 0.5762 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.0001211/0.791, allocations: 151.1 kB / 0.8506 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.7912, allocations: 33.62 kB / 0.8506 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003325/0.7915, allocations: 140.5 kB / 0.8508 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.7915, allocations: 6.719 kB / 0.8508 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.7915, allocations: 0 / 0.8508 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.7915, allocations: 2.625 kB / 0.8508 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007773/0.7923, allocations: 0.7721 MB / 0.8515 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7923, allocations: 2.719 kB / 0.8515 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.7925, allocations: 35.58 kB / 0.8516 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.7925, allocations: 6.5 kB / 0.8516 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.7925, allocations: 2.781 kB / 0.8516 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.7925, allocations: 2.688 kB / 0.8516 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7925, allocations: 3.984 kB / 0.8516 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.793, allocations: 356.8 kB / 0.8519 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.226e-05/0.7931, allocations: 115.6 kB / 0.852 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.7932, allocations: 3.312 kB / 0.852 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.7933, allocations: 8.219 kB / 0.852 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.7934, allocations: 21.42 kB / 0.8521 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.7934, allocations: 2.938 kB / 0.8521 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001741/0.7936, allocations: 214.1 kB / 0.8523 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7936, allocations: 0 / 0.8523 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003303/0.7939, allocations: 56.73 kB / 0.8523 GB, free: 12.92 MB / 0.5762 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.0003064/0.7942, allocations: 140.4 kB / 0.8524 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003393/0.7946, allocations: 132.8 kB / 0.8526 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7946, allocations: 96 / 0.8526 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.7947, allocations: 71.47 kB / 0.8526 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008136/0.7956, allocations: 121.9 kB / 0.8528 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008107/0.7964, allocations: 0.5747 MB / 0.8533 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.7967, allocations: 0.7516 MB / 0.8541 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001488/0.7969, allocations: 56.89 kB / 0.8541 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.7969, allocations: 21.25 kB / 0.8541 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.7969, allocations: 0 / 0.8541 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of Templates: time 0.007504/0.8044, allocations: 3.997 MB / 0.858 GB, free: 9.496 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)