Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004823/0.004823, allocations: 98.06 kB / 15.73 MB, free: 6.008 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.001083/0.001083, allocations: 190.4 kB / 16.67 MB, free: 5.934 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001994/0.001994, allocations: 294.1 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9494/0.9494, allocations: 169.3 MB / 0.4983 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 95.86 kB / 0.6815 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.457/0.4587, allocations: 86.98 MB / 0.7664 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1718/0.6306, allocations: 167.5 MB / 0.93 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007452/0.6381, allocations: 6.526 MB / 0.9364 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004259/0.6385, allocations: 15.88 kB / 0.9364 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006154/0.6392, allocations: 170.7 kB / 0.9366 GB, free: 5.012 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002043/0.6413, allocations: 0.8401 MB / 0.9374 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008285/0.6421, allocations: 330.6 kB / 0.9377 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0007362/0.6429, allocations: 0.7212 MB / 0.9384 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004158/0.6433, allocations: 277.2 kB / 0.9387 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.6443, allocations: 0.5564 MB / 0.9392 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003337/0.6447, allocations: 267 kB / 0.9395 GB, free: 2.039 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.6447, allocations: 24 kB / 0.9395 GB, free: 2.016 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005799/0.6453, allocations: 339.1 kB / 0.9398 GB, free: 1.684 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.6454, allocations: 103.7 kB / 0.9399 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.6456, allocations: 171.1 kB / 0.9401 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0006191/0.6462, allocations: 477.8 kB / 0.9405 GB, free: 0.9492 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.6462, allocations: 3.938 kB / 0.9405 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6462, allocations: 3.938 kB / 0.9405 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.6462, allocations: 0 / 0.9405 GB, free: 0.9414 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007744/0.647, allocations: 0.6268 MB / 0.9411 GB, free: 272 kB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.6471, allocations: 12.02 kB / 0.9412 GB, free: 260 kB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/0.6474, allocations: 59.73 kB / 0.9412 GB, free: 200 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.6478, allocations: 329.3 kB / 0.9415 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.6478, allocations: 20.56 kB / 0.9415 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.6479, allocations: 24 kB / 0.9416 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005245/0.6484, allocations: 319.7 kB / 0.9419 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.6484, allocations: 4 kB / 0.9419 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.6485, allocations: 15.94 kB / 0.9419 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.6485, allocations: 4 kB / 0.9419 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.6489, allocations: 201.6 kB / 0.9421 GB, free: 15.23 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.6504, allocations: 1.542 MB / 0.9436 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.6506, allocations: 118.5 kB / 0.9437 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.6508, allocations: 84.81 kB / 0.9438 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005379/0.6513, allocations: 307.2 kB / 0.9441 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.6514, allocations: 34.56 kB / 0.9441 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.6514, allocations: 0 / 0.9441 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007184/0.6521, allocations: 277.5 kB / 0.9444 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.6521, allocations: 59.34 kB / 0.9444 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/0.6525, allocations: 312.5 kB / 0.9447 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.6525, allocations: 25.7 kB / 0.9448 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.6526, allocations: 180.3 kB / 0.9449 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.6527, allocations: 51.58 kB / 0.945 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.6527, allocations: 37.66 kB / 0.945 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6529, allocations: 338.8 kB / 0.9453 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.653, allocations: 63.95 kB / 0.9454 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.6532, allocations: 107.8 kB / 0.9455 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.6536, allocations: 177 kB / 0.9457 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.6536, allocations: 7.938 kB / 0.9457 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004026/0.654, allocations: 213.4 kB / 0.9459 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.654, allocations: 12 kB / 0.9459 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.654, allocations: 0 / 0.9459 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.654, allocations: 4 kB / 0.9459 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.6542, allocations: 27.98 kB / 0.9459 GB, free: 11 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.6542, allocations: 7.938 kB / 0.9459 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.6544, allocations: 27.83 kB / 0.946 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.6544, allocations: 8 kB / 0.946 GB, free: 10.96 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001451/0.6546, allocations: 153.7 kB / 0.9461 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-05/0.6546, allocations: 35.81 kB / 0.9461 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004485/0.6551, allocations: 214.1 kB / 0.9463 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.6551, allocations: 0 / 0.9463 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6551, allocations: 0 / 0.9463 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.6551, allocations: 0 / 0.9463 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009714/0.6561, allocations: 0.6796 MB / 0.947 GB, free: 9.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6561, allocations: 4 kB / 0.947 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.6562, allocations: 35.91 kB / 0.9471 GB, free: 9.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.6563, allocations: 8.219 kB / 0.9471 GB, free: 9.742 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.6563, allocations: 4 kB / 0.9471 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.6563, allocations: 3.938 kB / 0.9471 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6563, allocations: 4 kB / 0.9471 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.6567, allocations: 341.2 kB / 0.9474 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.945e-05/0.6568, allocations: 120.8 kB / 0.9475 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.6569, allocations: 8 kB / 0.9475 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.657, allocations: 11.92 kB / 0.9475 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.6571, allocations: 19.98 kB / 0.9475 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.6571, allocations: 4 kB / 0.9476 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001979/0.6573, allocations: 223.1 kB / 0.9478 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6573, allocations: 3.938 kB / 0.9478 GB, free: 8.957 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003485/0.6576, allocations: 71.88 kB / 0.9478 GB, free: 8.887 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0003759/0.658, allocations: 162.4 kB / 0.948 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004142/0.6584, allocations: 156 kB / 0.9481 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.6585, allocations: 0 / 0.9481 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.6586, allocations: 83.81 kB / 0.9482 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000804/0.6595, allocations: 156.5 kB / 0.9484 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008463/0.6603, allocations: 0.5439 MB / 0.9489 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.6607, allocations: 0.7795 MB / 0.9497 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001862/0.6609, allocations: 66.92 kB / 0.9497 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.71e-05/0.6609, allocations: 23.44 kB / 0.9497 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of SimCode: time 3.7e-07/0.6609, allocations: 0 / 0.9497 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of Templates: time 0.009561/0.6705, allocations: 5.151 MB / 0.9548 GB, free: 1.801 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)