Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 112.3 kB / 16.38 MB, free: 6.438 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.00108/0.00108, allocations: 193 kB / 17.32 MB, free: 5.758 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 / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7905/0.7905, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 62.41 kB / 0.582 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1779, allocations: 80.22 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03996/0.2179, allocations: 41.95 MB / 0.7013 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01294/0.2309, allocations: 8.877 MB / 0.7099 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.2329, allocations: 43.75 kB / 0.71 GB, free: 7.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00179/0.2347, allocations: 0.5784 MB / 0.7105 GB, free: 6.648 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003941/0.2387, allocations: 1.251 MB / 0.7118 GB, free: 5.391 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003207/0.2419, allocations: 1.192 MB / 0.7129 GB, free: 4.207 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003788/0.2457, allocations: 2.673 MB / 0.7155 GB, free: 1.527 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.247, allocations: 0.9343 MB / 0.7165 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002665/0.2497, allocations: 1.039 MB / 0.7175 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.2509, allocations: 0.7467 MB / 0.7182 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.2511, allocations: 120 kB / 0.7183 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.2536, allocations: 1.189 MB / 0.7195 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.2539, allocations: 327 kB / 0.7198 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006876/0.2546, allocations: 0.6454 MB / 0.7204 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003199/0.2578, allocations: 2.353 MB / 0.7227 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2578, allocations: 0 / 0.7227 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2578, allocations: 0 / 0.7227 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.2579, allocations: 0 / 0.7227 GB, free: 10.15 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002578/0.2604, allocations: 1.74 MB / 0.7244 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.2605, allocations: 15.95 kB / 0.7244 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.2608, allocations: 131.4 kB / 0.7246 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.2623, allocations: 1.081 MB / 0.7256 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/0.2624, allocations: 49.31 kB / 0.7257 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.943e-05/0.2625, allocations: 68 kB / 0.7257 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.2637, allocations: 0.8097 MB / 0.7265 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.2638, allocations: 0 / 0.7265 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.257e-05/0.2638, allocations: 28 kB / 0.7265 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.2639, allocations: 16 kB / 0.7266 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.2649, allocations: 0.6102 MB / 0.7271 GB, free: 5.441 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.003888/0.2688, allocations: 3.205 MB / 0.7303 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007831/0.2696, allocations: 458.8 kB / 0.7307 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00046/0.2701, allocations: 312.7 kB / 0.731 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000813/0.2709, allocations: 0.7753 MB / 0.7318 GB, free: 368 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.2709, allocations: 34.5 kB / 0.7318 GB, free: 324 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 2.364e-06/0.2709, allocations: 0 / 0.7318 GB, free: 324 kB / 0.5606 GB Notification: Performance of matching and sorting (n=38): time 0.001738/0.2727, allocations: 0.9983 MB / 0.7328 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.376e-05/0.2728, allocations: 144.5 kB / 0.7329 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.2742, allocations: 1.083 MB / 0.734 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.5e-05/0.2743, allocations: 37.7 kB / 0.734 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.2746, allocations: 464.6 kB / 0.7345 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.2748, allocations: 130.1 kB / 0.7346 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.275, allocations: 114 kB / 0.7347 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2751, allocations: 325.9 kB / 0.735 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005225/0.2756, allocations: 354.6 kB / 0.7353 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005826/0.2762, allocations: 458.6 kB / 0.7358 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.2774, allocations: 0.9716 MB / 0.7367 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2774, allocations: 0 / 0.7367 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0016/0.279, allocations: 1.104 MB / 0.7378 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.2791, allocations: 182.2 kB / 0.738 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2791, allocations: 3.984 kB / 0.738 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.2792, allocations: 4 kB / 0.738 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.2795, allocations: 91.83 kB / 0.7381 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.2796, allocations: 4.219 kB / 0.7381 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006241/0.2802, allocations: 83.28 kB / 0.7381 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/0.2803, allocations: 27.98 kB / 0.7382 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008739/0.2811, allocations: 0.5915 MB / 0.7388 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000559/0.2817, allocations: 457.5 kB / 0.7392 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001079/0.2828, allocations: 0.9669 MB / 0.7401 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.305e-06/0.2828, allocations: 0 / 0.7401 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001527/0.2843, allocations: 1.098 MB / 0.7412 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.2845, allocations: 182.2 kB / 0.7414 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.2845, allocations: 4 kB / 0.7414 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.081e-06/0.2845, allocations: 4 kB / 0.7414 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.2848, allocations: 91.88 kB / 0.7415 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2848, allocations: 4 kB / 0.7415 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000584/0.2854, allocations: 63.69 kB / 0.7415 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/0.2855, allocations: 28.02 kB / 0.7416 GB, free: 5.828 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: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 6 * 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.0002726/0.2858, allocations: 309.1 kB / 0.7419 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.286, allocations: 102.8 kB / 0.742 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.2875, allocations: 0.9049 MB / 0.7428 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.2876, allocations: 11.98 kB / 0.7429 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.2876, allocations: 4 kB / 0.7429 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001143/0.2887, allocations: 0.9754 MB / 0.7438 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/0.2921, allocations: 2.119 MB / 0.7459 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.2921, allocations: 0 / 0.7459 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.2924, allocations: 72.17 kB / 0.7459 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.2924, allocations: 4 kB / 0.746 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.2925, allocations: 12 kB / 0.746 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.468e-06/0.2925, allocations: 4 kB / 0.746 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.2925, allocations: 7.938 kB / 0.746 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3612/0.6537, allocations: 1.396 MB / 0.7473 GB, free: 84.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006487/0.6544, allocations: 281.9 kB / 0.7476 GB, free: 84.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.6546, allocations: 16.73 kB / 0.7476 GB, free: 84.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005303/0.6551, allocations: 32.09 kB / 0.7477 GB, free: 84.05 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.6553, allocations: 55.05 kB / 0.7477 GB, free: 84.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.318e-05/0.6553, allocations: 23.08 kB / 0.7477 GB, free: 84.05 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001334/0.6567, allocations: 0.7785 MB / 0.7485 GB, free: 83.94 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6567, allocations: 1.562 kB / 0.7485 GB, free: 83.94 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001636/0.6583, allocations: 0.5148 MB / 0.749 GB, free: 83.94 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * 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.0009084/0.6592, allocations: 398 kB / 0.7494 GB, free: 83.86 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002359/0.6616, allocations: 1.949 MB / 0.7513 GB, free: 82.99 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.6616, allocations: 0 / 0.7513 GB, free: 82.99 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006725/0.6623, allocations: 0.5495 MB / 0.7518 GB, free: 82.67 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/0.6648, allocations: 0.5282 MB / 0.7523 GB, free: 82.58 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.6682, allocations: 1.951 MB / 0.7542 GB, free: 81.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007492/0.669, allocations: 1.068 MB / 0.7553 GB, free: 80.83 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.6693, allocations: 82.53 kB / 0.7554 GB, free: 80.82 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.6693, allocations: 0 / 0.7554 GB, free: 80.82 MB / 0.5762 GB Notification: Performance of Templates: time 0.03989/0.7092, allocations: 19.44 MB / 0.7743 GB, free: 73.7 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)