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.001448/0.001448, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.001343/0.001344, allocations: 187 kB / 17.34 MB, free: 5.742 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.332/1.332, 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.7806/0.7806, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 62.81 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1617, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.04229/0.204, allocations: 41.95 MB / 0.7013 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01385/0.2179, allocations: 8.865 MB / 0.71 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002099/0.22, allocations: 39.81 kB / 0.71 GB, free: 7.219 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002326/0.2224, allocations: 0.5784 MB / 0.7106 GB, free: 6.637 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004618/0.2271, allocations: 1.263 MB / 0.7118 GB, free: 5.367 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003638/0.2307, allocations: 1.189 MB / 0.713 GB, free: 4.188 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00408/0.2348, allocations: 2.684 MB / 0.7156 GB, free: 1.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.2364, allocations: 0.9303 MB / 0.7165 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.2392, allocations: 1.059 MB / 0.7175 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.2406, allocations: 0.7429 MB / 0.7183 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003247/0.2409, allocations: 120 kB / 0.7184 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002561/0.2435, allocations: 1.193 MB / 0.7195 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004089/0.2439, allocations: 327 kB / 0.7199 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.245, allocations: 0.6454 MB / 0.7205 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003835/0.2488, allocations: 2.357 MB / 0.7228 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2488, allocations: 0 / 0.7228 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2488, allocations: 0 / 0.7228 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.487e-05/0.2489, allocations: 0 / 0.7228 GB, free: 10.1 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.003454/0.2524, allocations: 1.736 MB / 0.7245 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.2524, allocations: 11.97 kB / 0.7245 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004126/0.2528, allocations: 131.4 kB / 0.7246 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.2547, allocations: 1.085 MB / 0.7257 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.2548, allocations: 53.3 kB / 0.7257 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.2549, allocations: 71.98 kB / 0.7258 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.2564, allocations: 0.802 MB / 0.7266 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.2564, allocations: 3.938 kB / 0.7266 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.436e-05/0.2565, allocations: 28 kB / 0.7266 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/0.2565, allocations: 19.98 kB / 0.7266 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.2576, allocations: 0.6102 MB / 0.7272 GB, free: 5.391 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.004335/0.262, allocations: 3.209 MB / 0.7304 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008031/0.2628, allocations: 454.9 kB / 0.7308 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004569/0.2633, allocations: 311.5 kB / 0.7311 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000833/0.2641, allocations: 0.7713 MB / 0.7318 GB, free: 324 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.2641, allocations: 34.56 kB / 0.7319 GB, free: 280 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 3.236e-06/0.2642, allocations: 0 / 0.7319 GB, free: 280 kB / 0.5606 GB Notification: Performance of matching and sorting (n=38): time 0.001683/0.2658, allocations: 1.002 MB / 0.7329 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.795e-05/0.2659, allocations: 140.5 kB / 0.733 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.2674, allocations: 1.083 MB / 0.734 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.2675, allocations: 41.7 kB / 0.7341 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.2679, allocations: 460.6 kB / 0.7345 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.268, allocations: 130 kB / 0.7346 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.2682, allocations: 118 kB / 0.7348 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2683, allocations: 325.9 kB / 0.7351 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005079/0.2688, allocations: 358.5 kB / 0.7354 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005815/0.2694, allocations: 454.7 kB / 0.7358 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.2706, allocations: 0.9715 MB / 0.7368 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.2706, allocations: 0 / 0.7368 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001553/0.2721, allocations: 1.108 MB / 0.7379 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.2723, allocations: 186.2 kB / 0.7381 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.2723, allocations: 0 / 0.7381 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.2723, allocations: 4 kB / 0.7381 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/0.2727, allocations: 83.89 kB / 0.7381 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.2727, allocations: 4.219 kB / 0.7381 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006392/0.2733, allocations: 83.28 kB / 0.7382 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.44e-05/0.2734, allocations: 27.98 kB / 0.7382 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008614/0.2743, allocations: 0.5993 MB / 0.7388 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005757/0.2749, allocations: 450.7 kB / 0.7393 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001115/0.276, allocations: 0.9708 MB / 0.7402 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.825e-06/0.276, allocations: 0 / 0.7402 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.00156/0.2776, allocations: 1.094 MB / 0.7413 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.2777, allocations: 190.2 kB / 0.7415 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2777, allocations: 4 kB / 0.7415 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.2778, allocations: 4 kB / 0.7415 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.2781, allocations: 87.83 kB / 0.7416 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.2781, allocations: 4 kB / 0.7416 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006825/0.2788, allocations: 59.56 kB / 0.7416 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/0.2789, allocations: 27.98 kB / 0.7416 GB, free: 5.781 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.0002818/0.2792, allocations: 301.2 kB / 0.7419 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/0.2794, allocations: 102.8 kB / 0.742 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.281, allocations: 0.9112 MB / 0.7429 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.2811, allocations: 8 kB / 0.7429 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2811, allocations: 128 / 0.7429 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001126/0.2822, allocations: 0.9831 MB / 0.7439 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003278/0.2855, allocations: 2.119 MB / 0.746 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2855, allocations: 0 / 0.746 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002763/0.2858, allocations: 68.17 kB / 0.746 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.2858, allocations: 8 kB / 0.746 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.2859, allocations: 12 kB / 0.746 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.2859, allocations: 4 kB / 0.746 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.2859, allocations: 4 kB / 0.746 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3916/0.6775, allocations: 1.396 MB / 0.7474 GB, free: 84.69 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006641/0.6782, allocations: 281.3 kB / 0.7477 GB, free: 84.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.6783, allocations: 15.55 kB / 0.7477 GB, free: 84.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005536/0.6789, allocations: 34.84 kB / 0.7477 GB, free: 84.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.6791, allocations: 53.23 kB / 0.7478 GB, free: 84.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.989e-05/0.6792, allocations: 23.42 kB / 0.7478 GB, free: 84.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001279/0.6804, allocations: 0.7794 MB / 0.7486 GB, free: 84.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6804, allocations: 1.312 kB / 0.7486 GB, free: 84.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00141/0.6819, allocations: 0.5196 MB / 0.7491 GB, free: 84.48 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.0009062/0.6828, allocations: 397.3 kB / 0.7494 GB, free: 84.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00229/0.6851, allocations: 1.952 MB / 0.7514 GB, free: 83.26 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6851, allocations: 0 / 0.7514 GB, free: 83.26 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007002/0.6858, allocations: 0.5506 MB / 0.7519 GB, free: 82.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/0.6883, allocations: 0.5271 MB / 0.7524 GB, free: 82.83 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.6914, allocations: 1.951 MB / 0.7543 GB, free: 81.81 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006993/0.6921, allocations: 1.064 MB / 0.7553 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.6924, allocations: 82.94 kB / 0.7554 GB, free: 81.06 MB / 0.5762 GB Notification: Performance of SimCode: time 8.22e-07/0.6924, allocations: 0.7188 kB / 0.7554 GB, free: 81.06 MB / 0.5762 GB Notification: Performance of Templates: time 0.03827/0.7307, allocations: 19.52 MB / 0.7745 GB, free: 73.86 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)