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.001118/0.001118, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001103/0.001103, allocations: 193.3 kB / 16.91 MB, free: 6.195 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.281/1.281, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7856/0.7856, allocations: 132.2 MB / 422.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 59.91 kB / 0.5019 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3776, allocations: 80.19 MB / 0.5802 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03345/0.4111, allocations: 41.62 MB / 0.6209 GB, free: 4.887 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01253/0.4237, allocations: 8.811 MB / 0.6295 GB, free: 12.07 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.4257, allocations: 31.81 kB / 0.6295 GB, free: 12.04 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.4277, allocations: 0.5014 MB / 0.63 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003911/0.4316, allocations: 1.178 MB / 0.6311 GB, free: 10.35 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003064/0.4347, allocations: 1.072 MB / 0.6322 GB, free: 9.289 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003722/0.4384, allocations: 2.707 MB / 0.6348 GB, free: 6.578 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.4398, allocations: 0.9225 MB / 0.6357 GB, free: 5.629 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002593/0.4424, allocations: 1.041 MB / 0.6368 GB, free: 4.586 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.4436, allocations: 0.7662 MB / 0.6375 GB, free: 3.816 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.4438, allocations: 120 kB / 0.6376 GB, free: 3.699 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.4461, allocations: 1.197 MB / 0.6388 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003396/0.4465, allocations: 331 kB / 0.6391 GB, free: 2.176 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007068/0.4472, allocations: 0.6454 MB / 0.6397 GB, free: 1.527 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002328/0.4495, allocations: 1.84 MB / 0.6415 GB, free: 15.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4495, allocations: 0 / 0.6415 GB, free: 15.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4495, allocations: 0 / 0.6415 GB, free: 15.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.4496, allocations: 4 kB / 0.6415 GB, free: 15.68 MB / 494.1 MB 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.002627/0.4522, allocations: 1.732 MB / 0.6432 GB, free: 13.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4522, allocations: 8.031 kB / 0.6432 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002974/0.4525, allocations: 135.4 kB / 0.6434 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.4542, allocations: 1.065 MB / 0.6444 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.557e-05/0.4542, allocations: 57.25 kB / 0.6445 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.4544, allocations: 67.98 kB / 0.6445 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.4557, allocations: 0.8136 MB / 0.6453 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.4557, allocations: 3.938 kB / 0.6453 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.979e-05/0.4558, allocations: 28 kB / 0.6453 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.4558, allocations: 16 kB / 0.6454 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.4568, allocations: 0.6063 MB / 0.646 GB, free: 10.98 MB / 494.1 MB 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.004009/0.4609, allocations: 3.212 MB / 0.6491 GB, free: 7.605 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000805/0.4617, allocations: 465.5 kB / 0.6495 GB, free: 7.145 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.4621, allocations: 308.7 kB / 0.6498 GB, free: 6.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008052/0.463, allocations: 0.7635 MB / 0.6506 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.463, allocations: 38.56 kB / 0.6506 GB, free: 5.863 MB / 494.1 MB Notification: Performance of pre-optimization done (n=38): time 2.715e-06/0.463, allocations: 0 / 0.6506 GB, free: 5.863 MB / 494.1 MB Notification: Performance of matching and sorting (n=38): time 0.001686/0.4647, allocations: 0.9982 MB / 0.6516 GB, free: 4.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.4648, allocations: 136.5 kB / 0.6517 GB, free: 4.676 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.4662, allocations: 1.079 MB / 0.6528 GB, free: 3.578 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/0.4662, allocations: 37.7 kB / 0.6528 GB, free: 3.535 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.4666, allocations: 468.5 kB / 0.6532 GB, free: 3.074 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.4668, allocations: 134.1 kB / 0.6534 GB, free: 2.941 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.467, allocations: 114 kB / 0.6535 GB, free: 2.824 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4671, allocations: 333.9 kB / 0.6538 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000496/0.4676, allocations: 350.6 kB / 0.6541 GB, free: 2.148 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.4682, allocations: 454.7 kB / 0.6546 GB, free: 1.672 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.4693, allocations: 0.964 MB / 0.6555 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4693, allocations: 0 / 0.6555 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001604/0.4709, allocations: 1.104 MB / 0.6566 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.4711, allocations: 186.2 kB / 0.6568 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.4711, allocations: 8.219 kB / 0.6568 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.4712, allocations: 4 kB / 0.6568 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.4715, allocations: 87.89 kB / 0.6569 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.4716, allocations: 7.938 kB / 0.6569 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007151/0.4723, allocations: 103.2 kB / 0.657 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.919e-05/0.4723, allocations: 27.98 kB / 0.657 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008685/0.4732, allocations: 0.5946 MB / 0.6576 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005652/0.4738, allocations: 454.7 kB / 0.658 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001071/0.4749, allocations: 0.9706 MB / 0.659 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.565e-06/0.4749, allocations: 0 / 0.659 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001527/0.4764, allocations: 1.098 MB / 0.66 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.4765, allocations: 182.2 kB / 0.6602 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4766, allocations: 4 kB / 0.6602 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/0.4766, allocations: 7.938 kB / 0.6602 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.4769, allocations: 91.88 kB / 0.6603 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4769, allocations: 4 kB / 0.6603 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006596/0.4776, allocations: 79.78 kB / 0.6604 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/0.4777, allocations: 24 kB / 0.6604 GB, free: 11.34 MB / 0.4981 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.0002727/0.4779, allocations: 301.2 kB / 0.6607 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.4781, allocations: 110.7 kB / 0.6608 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.4796, allocations: 0.9104 MB / 0.6617 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.4796, allocations: 4 kB / 0.6617 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4796, allocations: 4 kB / 0.6617 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001114/0.4807, allocations: 0.9756 MB / 0.6626 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003101/0.4838, allocations: 2.107 MB / 0.6647 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.4839, allocations: 3.938 kB / 0.6647 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.4841, allocations: 67.89 kB / 0.6648 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.4842, allocations: 8.281 kB / 0.6648 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.4842, allocations: 16 kB / 0.6648 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.4842, allocations: 4 kB / 0.6648 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.4842, allocations: 8 kB / 0.6648 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.4861, allocations: 1.401 MB / 0.6662 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004325/0.4865, allocations: 283.7 kB / 0.6664 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.4867, allocations: 20.06 kB / 0.6665 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005194/0.4872, allocations: 47.8 kB / 0.6665 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.4874, allocations: 43.95 kB / 0.6666 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.4874, allocations: 23.98 kB / 0.6666 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001054/0.4885, allocations: 0.7805 MB / 0.6673 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4885, allocations: 0 / 0.6673 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001346/0.4898, allocations: 0.5148 MB / 0.6678 GB, free: 3.383 MB / 0.4981 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.0008381/0.4907, allocations: 405.1 kB / 0.6682 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002345/0.493, allocations: 1.966 MB / 0.6701 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4931, allocations: 4.062 kB / 0.6702 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006491/0.4937, allocations: 0.537 MB / 0.6707 GB, free: 304 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/0.496, allocations: 0.5326 MB / 0.6712 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.4992, allocations: 2.288 MB / 0.6734 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006616/0.4998, allocations: 1.068 MB / 0.6745 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.5001, allocations: 83.36 kB / 0.6746 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of SimCode: time 7.51e-07/0.5001, allocations: 0 / 0.6746 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of Templates: time 0.02841/0.5285, allocations: 19.29 MB / 0.6934 GB, free: 9.176 MB / 0.5294 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)