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.005295/0.005295, allocations: 104.3 kB / 15.74 MB, free: 6.445 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.001288/0.001288, allocations: 191.7 kB / 16.67 MB, free: 6.352 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7361/0.7361, allocations: 132.2 MB / 422.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.89 kB / 0.5814 GB, free: 7.523 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.379, allocations: 80.2 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03647/0.4155, allocations: 41.95 MB / 0.7007 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01248/0.428, allocations: 8.874 MB / 0.7093 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.4296, allocations: 38.69 kB / 0.7094 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.4315, allocations: 0.5852 MB / 0.7099 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003557/0.4351, allocations: 1.259 MB / 0.7112 GB, free: 232 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.4382, allocations: 1.188 MB / 0.7123 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003754/0.4419, allocations: 2.677 MB / 0.7149 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.4434, allocations: 0.9303 MB / 0.7158 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/0.446, allocations: 1.045 MB / 0.7169 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.4474, allocations: 0.7429 MB / 0.7176 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003999/0.4478, allocations: 124 kB / 0.7177 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/0.4508, allocations: 1.189 MB / 0.7189 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004351/0.4513, allocations: 323 kB / 0.7192 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.4523, allocations: 0.6454 MB / 0.7198 GB, free: 8.512 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00393/0.4562, allocations: 2.365 MB / 0.7221 GB, free: 6.145 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4562, allocations: 0 / 0.7221 GB, free: 6.145 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4562, allocations: 4 kB / 0.7221 GB, free: 6.141 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.074e-05/0.4563, allocations: 0 / 0.7221 GB, free: 6.141 MB / 0.545 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.00289/0.4592, allocations: 1.773 MB / 0.7239 GB, free: 4.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4592, allocations: 12.03 kB / 0.7239 GB, free: 4.258 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002949/0.4595, allocations: 148.1 kB / 0.724 GB, free: 4.113 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.4612, allocations: 1.093 MB / 0.7251 GB, free: 2.973 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.4613, allocations: 49.31 kB / 0.7251 GB, free: 2.926 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.405e-05/0.4614, allocations: 68 kB / 0.7252 GB, free: 2.859 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.4627, allocations: 0.8058 MB / 0.726 GB, free: 2.031 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.4628, allocations: 0 / 0.726 GB, free: 2.031 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.885e-05/0.4628, allocations: 32 kB / 0.726 GB, free: 2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.4629, allocations: 16 kB / 0.726 GB, free: 1.984 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.4639, allocations: 0.6102 MB / 0.7266 GB, free: 1.375 MB / 0.545 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.003712/0.4676, allocations: 3.213 MB / 0.7298 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007897/0.4684, allocations: 456.2 kB / 0.7302 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/0.4689, allocations: 315.5 kB / 0.7305 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008134/0.4697, allocations: 0.7674 MB / 0.7312 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.4697, allocations: 38.55 kB / 0.7313 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 1.844e-06/0.4698, allocations: 0 / 0.7313 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=38): time 0.00162/0.4714, allocations: 1.003 MB / 0.7323 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.848e-05/0.4715, allocations: 144.5 kB / 0.7324 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.4728, allocations: 1.087 MB / 0.7335 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.4729, allocations: 37.64 kB / 0.7335 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.4733, allocations: 473.1 kB / 0.7339 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.4734, allocations: 134.8 kB / 0.7341 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.4736, allocations: 118.1 kB / 0.7342 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4738, allocations: 329.9 kB / 0.7345 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000563/0.4743, allocations: 354.6 kB / 0.7348 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006239/0.475, allocations: 450.8 kB / 0.7353 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.4761, allocations: 0.9676 MB / 0.7362 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4761, allocations: 0 / 0.7362 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001525/0.4776, allocations: 1.108 MB / 0.7373 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.4777, allocations: 190.2 kB / 0.7375 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4777, allocations: 0 / 0.7375 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4778, allocations: 4 kB / 0.7375 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.4781, allocations: 95.86 kB / 0.7376 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.4781, allocations: 4 kB / 0.7376 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/0.4786, allocations: 75.48 kB / 0.7376 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.557e-05/0.4787, allocations: 24 kB / 0.7377 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008366/0.4795, allocations: 0.6069 MB / 0.7383 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005644/0.4801, allocations: 450.8 kB / 0.7387 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001131/0.4813, allocations: 0.963 MB / 0.7396 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.4813, allocations: 4 kB / 0.7396 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001465/0.4827, allocations: 1.096 MB / 0.7407 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.4829, allocations: 186.2 kB / 0.7409 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.4829, allocations: 4 kB / 0.7409 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.843e-06/0.4829, allocations: 4 kB / 0.7409 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003283/0.4832, allocations: 96.05 kB / 0.741 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.4832, allocations: 11.97 kB / 0.741 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/0.4837, allocations: 63.77 kB / 0.7411 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/0.4838, allocations: 24 kB / 0.7411 GB, free: 1.734 MB / 0.5606 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.0002587/0.4841, allocations: 305.2 kB / 0.7414 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.4842, allocations: 107.3 kB / 0.7415 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.4857, allocations: 0.9049 MB / 0.7424 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.4858, allocations: 12 kB / 0.7424 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.4858, allocations: 3.984 kB / 0.7424 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001125/0.4869, allocations: 0.9793 MB / 0.7433 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002988/0.4899, allocations: 2.125 MB / 0.7454 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.4899, allocations: 0 / 0.7454 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.4902, allocations: 59.91 kB / 0.7455 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.4902, allocations: 4 kB / 0.7455 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/0.4903, allocations: 23.92 kB / 0.7455 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.4903, allocations: 4 kB / 0.7455 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4903, allocations: 4.281 kB / 0.7455 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.4921, allocations: 1.402 MB / 0.7469 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003566/0.4925, allocations: 288.2 kB / 0.7471 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.4926, allocations: 16 kB / 0.7471 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004654/0.4931, allocations: 32.03 kB / 0.7472 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.4932, allocations: 51.89 kB / 0.7472 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.082e-05/0.4933, allocations: 27.92 kB / 0.7473 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001047/0.4944, allocations: 0.7767 MB / 0.748 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4944, allocations: 0 / 0.748 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001245/0.4956, allocations: 0.5263 MB / 0.7485 GB, free: 9.742 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.0008065/0.4964, allocations: 395.7 kB / 0.7489 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002202/0.4986, allocations: 1.95 MB / 0.7508 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4987, allocations: 0 / 0.7508 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000681/0.4994, allocations: 0.5472 MB / 0.7513 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.5015, allocations: 0.5356 MB / 0.7519 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.5045, allocations: 1.915 MB / 0.7537 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006627/0.5052, allocations: 1.075 MB / 0.7548 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006601/0.5059, allocations: 205.1 kB / 0.755 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.506, allocations: 79.42 kB / 0.7551 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.5061, allocations: 0 / 0.7551 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of Templates: time 0.03508/0.5411, allocations: 24.48 MB / 0.779 GB, free: 10.69 MB / 0.6075 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)