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.001181/0.001181, allocations: 104.9 kB / 16.41 MB, free: 6.457 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.001211/0.001211, allocations: 188 kB / 17.34 MB, free: 5.715 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.415/1.415, allocations: 222.9 MB / 241 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.002496/0.002496, allocations: 289.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.008/1.008, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 99.83 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4596/0.4624, allocations: 86.98 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1984/0.6608, allocations: 168 MB / 0.9311 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008276/0.669, allocations: 6.541 MB / 0.9375 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004246/0.6695, allocations: 19.88 kB / 0.9375 GB, free: 4.707 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005383/0.67, allocations: 174.7 kB / 0.9377 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.6722, allocations: 0.8791 MB / 0.9385 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009037/0.6731, allocations: 329.7 kB / 0.9389 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0009146/0.674, allocations: 0.7251 MB / 0.9396 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004312/0.6744, allocations: 234.3 kB / 0.9398 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.6755, allocations: 0.5682 MB / 0.9403 GB, free: 1.812 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.6759, allocations: 267 kB / 0.9406 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.309e-05/0.676, allocations: 24 kB / 0.9406 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006578/0.6766, allocations: 347.1 kB / 0.941 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.6768, allocations: 111.6 kB / 0.9411 GB, free: 1.078 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.6769, allocations: 163.2 kB / 0.9412 GB, free: 0.918 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.000687/0.6776, allocations: 476.6 kB / 0.9417 GB, free: 464 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.6776, allocations: 0 / 0.9417 GB, free: 464 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6776, allocations: 0 / 0.9417 GB, free: 464 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.6776, allocations: 0 / 0.9417 GB, free: 464 kB / 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.0009408/0.6786, allocations: 0.6346 MB / 0.9423 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.6786, allocations: 8.031 kB / 0.9423 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003079/0.6789, allocations: 59.73 kB / 0.9424 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005462/0.6795, allocations: 341.2 kB / 0.9427 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.6795, allocations: 16.56 kB / 0.9427 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.6795, allocations: 28 kB / 0.9427 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/0.6801, allocations: 315.7 kB / 0.943 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.6801, allocations: 0 / 0.943 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.6801, allocations: 15.94 kB / 0.943 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.6801, allocations: 8 kB / 0.943 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004336/0.6806, allocations: 201.6 kB / 0.9432 GB, free: 14.73 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.001666/0.6822, allocations: 1.539 MB / 0.9447 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.6825, allocations: 109 kB / 0.9448 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.6827, allocations: 88.8 kB / 0.9449 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000622/0.6833, allocations: 307.2 kB / 0.9452 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.6833, allocations: 30.56 kB / 0.9452 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.6833, allocations: 0 / 0.9452 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007999/0.6841, allocations: 277.5 kB / 0.9455 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.6842, allocations: 55.41 kB / 0.9456 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/0.6845, allocations: 304.6 kB / 0.9459 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.6845, allocations: 29.7 kB / 0.9459 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.6847, allocations: 188.3 kB / 0.9461 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.6847, allocations: 47.58 kB / 0.9461 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.6848, allocations: 37.67 kB / 0.9461 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.685, allocations: 334.8 kB / 0.9465 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.6851, allocations: 67.94 kB / 0.9465 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.6853, allocations: 107.8 kB / 0.9466 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.6857, allocations: 184.9 kB / 0.9468 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.6857, allocations: 3.938 kB / 0.9468 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004555/0.6861, allocations: 213.4 kB / 0.947 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.6861, allocations: 4 kB / 0.947 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.6862, allocations: 4 kB / 0.947 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.6862, allocations: 0 / 0.947 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.6864, allocations: 35.97 kB / 0.9471 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.6864, allocations: 7.922 kB / 0.9471 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.6866, allocations: 31.83 kB / 0.9471 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.6866, allocations: 4 kB / 0.9471 GB, free: 10.47 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.0001604/0.6867, allocations: 160.2 kB / 0.9473 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.6868, allocations: 31.75 kB / 0.9473 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000457/0.6872, allocations: 208.3 kB / 0.9475 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.6873, allocations: 4 kB / 0.9475 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6873, allocations: 4 kB / 0.9475 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.6873, allocations: 0 / 0.9475 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.6883, allocations: 0.6796 MB / 0.9482 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6883, allocations: 3.938 kB / 0.9482 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.6885, allocations: 36.14 kB / 0.9482 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.6885, allocations: 0 / 0.9482 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.6885, allocations: 8 kB / 0.9482 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.6885, allocations: 7.938 kB / 0.9482 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.6885, allocations: 3.984 kB / 0.9482 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004476/0.6889, allocations: 339.6 kB / 0.9485 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.6891, allocations: 128.8 kB / 0.9487 GB, free: 8.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.6892, allocations: 4 kB / 0.9487 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.6893, allocations: 15.98 kB / 0.9487 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.6894, allocations: 15.97 kB / 0.9487 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.6894, allocations: 8 kB / 0.9487 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000244/0.6896, allocations: 223 kB / 0.9489 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6896, allocations: 3.938 kB / 0.9489 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003847/0.69, allocations: 71.89 kB / 0.949 GB, free: 8.395 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.0003784/0.6904, allocations: 153 kB / 0.9491 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003985/0.6908, allocations: 151.8 kB / 0.9493 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6908, allocations: 0 / 0.9493 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.691, allocations: 83.81 kB / 0.9494 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008233/0.6918, allocations: 146 kB / 0.9495 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009022/0.6927, allocations: 0.5402 MB / 0.95 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.6931, allocations: 0.7833 MB / 0.9508 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001862/0.6933, allocations: 70.91 kB / 0.9509 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.6934, allocations: 23.44 kB / 0.9509 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.6934, allocations: 0 / 0.9509 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of Templates: time 0.0111/0.7045, allocations: 5.176 MB / 0.9559 GB, free: 1.301 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)