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.001225/0.001224, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001431/0.001432, allocations: 183 kB / 17.34 MB, free: 5.766 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002068, allocations: 296.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.947/0.947, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 95.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4881/0.4898, allocations: 86.98 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1693/0.6591, allocations: 167.5 MB / 0.9307 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007112/0.6663, allocations: 6.522 MB / 0.937 GB, free: 5.207 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004867/0.6668, allocations: 15.88 kB / 0.9371 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.000562/0.6674, allocations: 170.7 kB / 0.9372 GB, free: 5.023 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002134/0.6696, allocations: 0.8479 MB / 0.938 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009016/0.6705, allocations: 317.7 kB / 0.9383 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0007742/0.6713, allocations: 0.729 MB / 0.9391 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004061/0.6717, allocations: 281.4 kB / 0.9393 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.6728, allocations: 0.5486 MB / 0.9399 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003424/0.6731, allocations: 275 kB / 0.9401 GB, free: 2.043 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.6732, allocations: 24 kB / 0.9402 GB, free: 2.02 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005982/0.6738, allocations: 335.1 kB / 0.9405 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.6739, allocations: 103.7 kB / 0.9406 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.674, allocations: 167.2 kB / 0.9407 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0005885/0.6746, allocations: 478.5 kB / 0.9412 GB, free: 0.957 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.6746, allocations: 0 / 0.9412 GB, free: 0.957 MB / 0.7012 GB Notification: Performance of FrontEnd: time 5.04e-06/0.6747, allocations: 3.938 kB / 0.9412 GB, free: 0.9531 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.6747, allocations: 7.938 kB / 0.9412 GB, free: 0.9453 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.0007539/0.6754, allocations: 0.6077 MB / 0.9418 GB, free: 296 kB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.6755, allocations: 16.02 kB / 0.9418 GB, free: 280 kB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000287/0.6758, allocations: 59.58 kB / 0.9419 GB, free: 220 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/0.6763, allocations: 321.2 kB / 0.9422 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.6763, allocations: 20.56 kB / 0.9422 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.6763, allocations: 28 kB / 0.9422 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004965/0.6768, allocations: 323.7 kB / 0.9425 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.6769, allocations: 0 / 0.9425 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.6769, allocations: 15.94 kB / 0.9425 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.6769, allocations: 4 kB / 0.9425 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.6773, allocations: 197.6 kB / 0.9427 GB, free: 15.26 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.001362/0.6787, allocations: 1.546 MB / 0.9442 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.6789, allocations: 122.5 kB / 0.9444 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.6791, allocations: 84.81 kB / 0.9444 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005444/0.6796, allocations: 307.2 kB / 0.9447 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.6797, allocations: 34.56 kB / 0.9448 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.6797, allocations: 0 / 0.9448 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.000708/0.6804, allocations: 269.2 kB / 0.945 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.6804, allocations: 51.41 kB / 0.9451 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.6807, allocations: 316.5 kB / 0.9454 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.6808, allocations: 33.64 kB / 0.9454 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.6809, allocations: 180.1 kB / 0.9456 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.6809, allocations: 47.3 kB / 0.9456 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/0.681, allocations: 37.7 kB / 0.9457 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.6811, allocations: 342.8 kB / 0.946 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.6812, allocations: 55.95 kB / 0.946 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.6814, allocations: 113 kB / 0.9461 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.6817, allocations: 177 kB / 0.9463 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.6818, allocations: 3.938 kB / 0.9463 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003873/0.6821, allocations: 221.1 kB / 0.9465 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.6822, allocations: 10.97 kB / 0.9465 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.6822, allocations: 0 / 0.9465 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.6822, allocations: 4 kB / 0.9465 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.6824, allocations: 27.98 kB / 0.9466 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6824, allocations: 7.938 kB / 0.9466 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.6825, allocations: 27.73 kB / 0.9466 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.6826, allocations: 8.156 kB / 0.9466 GB, free: 10.98 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.0001251/0.6827, allocations: 152.2 kB / 0.9468 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.6828, allocations: 27.72 kB / 0.9468 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004225/0.6832, allocations: 214.6 kB / 0.947 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.6832, allocations: 4 kB / 0.947 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.6832, allocations: 0 / 0.947 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.6832, allocations: 0 / 0.947 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009223/0.6842, allocations: 0.6873 MB / 0.9477 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.6842, allocations: 8.219 kB / 0.9477 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.6843, allocations: 31.91 kB / 0.9477 GB, free: 9.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.6843, allocations: 4 kB / 0.9477 GB, free: 9.77 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.6843, allocations: 8 kB / 0.9477 GB, free: 9.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.6843, allocations: 3.938 kB / 0.9477 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6844, allocations: 4 kB / 0.9477 GB, free: 9.754 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.6848, allocations: 337 kB / 0.948 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.024e-05/0.6849, allocations: 120.7 kB / 0.9482 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.6849, allocations: 8 kB / 0.9482 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.6851, allocations: 15.92 kB / 0.9482 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.6851, allocations: 15.98 kB / 0.9482 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.6851, allocations: 4 kB / 0.9482 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001899/0.6853, allocations: 223.1 kB / 0.9484 GB, free: 8.988 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6853, allocations: 3.938 kB / 0.9484 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003588/0.6857, allocations: 67.89 kB / 0.9485 GB, free: 8.918 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.0003879/0.6861, allocations: 167.1 kB / 0.9486 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003773/0.6865, allocations: 151.8 kB / 0.9488 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6865, allocations: 0 / 0.9488 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.6867, allocations: 87.81 kB / 0.9489 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007802/0.6874, allocations: 153.9 kB / 0.949 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008368/0.6883, allocations: 0.5656 MB / 0.9496 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.6887, allocations: 0.7834 MB / 0.9503 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/0.6888, allocations: 23.44 kB / 0.9504 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.6888, allocations: 0 / 0.9504 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of Templates: time 0.0067/0.6955, allocations: 4.578 MB / 0.9548 GB, free: 2.398 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)