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.0007658/0.0007659, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.0008382/0.0008382, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001782/0.001782, allocations: 278.9 kB / 291.4 MB, free: 1.969 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.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003939, allocations: 13.7 kB / 0.598 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 88.55 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4251/0.5604, allocations: 152.2 MB / 0.8331 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006478/0.5669, allocations: 6.067 MB / 0.839 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003143/0.5673, allocations: 10.28 kB / 0.839 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004322/0.5677, allocations: 112.1 kB / 0.8391 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.5691, allocations: 0.5929 MB / 0.8397 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007548/0.5699, allocations: 280.2 kB / 0.84 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008152/0.5707, allocations: 0.85 MB / 0.8408 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003409/0.5711, allocations: 208.7 kB / 0.841 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009426/0.572, allocations: 456.3 kB / 0.8415 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/0.5724, allocations: 262.8 kB / 0.8417 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.5725, allocations: 16.38 kB / 0.8417 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004586/0.5729, allocations: 200.7 kB / 0.8419 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.573, allocations: 95.56 kB / 0.842 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.951e-05/0.5731, allocations: 84.73 kB / 0.8421 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.5735, allocations: 322.3 kB / 0.8424 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5735, allocations: 0 / 0.8424 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.163e-06/0.5735, allocations: 0 / 0.8424 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.5735, allocations: 4 kB / 0.8424 GB, free: 5.102 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006739/0.5742, allocations: 0.5525 MB / 0.8429 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.5742, allocations: 9.031 kB / 0.8429 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002767/0.5745, allocations: 68.2 kB / 0.843 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.5748, allocations: 291.8 kB / 0.8433 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.5749, allocations: 23.66 kB / 0.8433 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.5749, allocations: 28.94 kB / 0.8433 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005075/0.5754, allocations: 331.7 kB / 0.8437 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5754, allocations: 3.031 kB / 0.8437 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.5755, allocations: 12 kB / 0.8437 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.5755, allocations: 8.156 kB / 0.8437 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/0.5759, allocations: 214.1 kB / 0.8439 GB, free: 3.914 MB / 0.5606 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.001329/0.5772, allocations: 1.529 MB / 0.8454 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.5775, allocations: 133.5 kB / 0.8455 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.5776, allocations: 90.06 kB / 0.8456 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005399/0.5782, allocations: 314.2 kB / 0.8459 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.5782, allocations: 42.55 kB / 0.8459 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.5782, allocations: 2.188 kB / 0.8459 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0006693/0.5789, allocations: 290.8 kB / 0.8462 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.579, allocations: 55.34 kB / 0.8463 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.5792, allocations: 307.5 kB / 0.8466 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.5793, allocations: 33.02 kB / 0.8466 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.5794, allocations: 184.7 kB / 0.8468 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.5794, allocations: 39.95 kB / 0.8468 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/0.5794, allocations: 4 kB / 0.8468 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.5796, allocations: 347.7 kB / 0.8471 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.5797, allocations: 63.64 kB / 0.8472 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.5799, allocations: 117.8 kB / 0.8473 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.5801, allocations: 78.19 kB / 0.8474 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5801, allocations: 0 / 0.8474 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003835/0.5805, allocations: 227 kB / 0.8476 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.5805, allocations: 5.188 kB / 0.8476 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5805, allocations: 0 / 0.8476 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.5805, allocations: 2.75 kB / 0.8476 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.5807, allocations: 50.91 kB / 0.8477 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5807, allocations: 3.094 kB / 0.8477 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.5809, allocations: 35.52 kB / 0.8477 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.5809, allocations: 12.78 kB / 0.8477 GB, free: 0.6797 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.5811, allocations: 150.3 kB / 0.8478 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.5811, allocations: 36.95 kB / 0.8479 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004128/0.5815, allocations: 210.3 kB / 0.8481 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5815, allocations: 0 / 0.8481 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.5816, allocations: 0 / 0.8481 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5816, allocations: 0 / 0.8481 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009239/0.5825, allocations: 0.6973 MB / 0.8488 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.5825, allocations: 3.312 kB / 0.8488 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.5826, allocations: 32.59 kB / 0.8488 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.5827, allocations: 2.594 kB / 0.8488 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.5827, allocations: 1.969 kB / 0.8488 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.5827, allocations: 3 kB / 0.8488 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5827, allocations: 11.09 kB / 0.8488 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.5831, allocations: 358.3 kB / 0.8492 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.632e-05/0.5832, allocations: 114.7 kB / 0.8493 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.5832, allocations: 2.812 kB / 0.8493 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.5834, allocations: 33.05 kB / 0.8493 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.5835, allocations: 13.59 kB / 0.8493 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.5835, allocations: 5.75 kB / 0.8493 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001974/0.5837, allocations: 222.1 kB / 0.8495 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5837, allocations: 0 / 0.8495 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003574/0.5841, allocations: 76 kB / 0.8496 GB, free: 15.2 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003059/0.5844, allocations: 153.4 kB / 0.8497 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003648/0.5847, allocations: 168.5 kB / 0.8499 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5848, allocations: 0 / 0.8499 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.5849, allocations: 90.02 kB / 0.85 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000764/0.5857, allocations: 140.1 kB / 0.8501 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000765/0.5865, allocations: 0.6299 MB / 0.8507 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.5868, allocations: 0.7817 MB / 0.8515 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001879/0.587, allocations: 52.58 kB / 0.8516 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.33e-05/0.587, allocations: 28.11 kB / 0.8516 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of SimCode: time 1.844e-06/0.5871, allocations: 7.938 kB / 0.8516 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of Templates: time 0.008426/0.5955, allocations: 4.718 MB / 0.8562 GB, free: 11.31 MB / 0.5762 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)