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.001342/0.001342, allocations: 102.6 kB / 16.27 MB, free: 6.414 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.001209/0.001209, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.367/1.367, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8363/0.8363, allocations: 132.2 MB / 423.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 63.91 kB / 0.5024 GB, free: 11.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4219, allocations: 80.19 MB / 0.5807 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03624/0.4582, allocations: 41.95 MB / 0.6217 GB, free: 4.262 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01342/0.4716, allocations: 8.871 MB / 0.6304 GB, free: 11.38 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/0.4739, allocations: 43.75 kB / 0.6304 GB, free: 11.34 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.4758, allocations: 0.5784 MB / 0.631 GB, free: 10.76 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003901/0.4797, allocations: 1.259 MB / 0.6322 GB, free: 9.492 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003325/0.4831, allocations: 1.183 MB / 0.6334 GB, free: 8.32 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004116/0.4872, allocations: 2.677 MB / 0.636 GB, free: 5.637 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.4887, allocations: 0.9225 MB / 0.6369 GB, free: 4.691 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002869/0.4916, allocations: 1.043 MB / 0.6379 GB, free: 3.645 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.4927, allocations: 0.7467 MB / 0.6386 GB, free: 2.895 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.4929, allocations: 120 kB / 0.6388 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002625/0.4956, allocations: 1.186 MB / 0.6399 GB, free: 1.59 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.4959, allocations: 330.9 kB / 0.6402 GB, free: 1.266 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007537/0.4967, allocations: 0.6377 MB / 0.6408 GB, free: 0.625 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003594/0.5003, allocations: 2.337 MB / 0.6431 GB, free: 14.28 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.5003, allocations: 0 / 0.6431 GB, free: 14.28 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5003, allocations: 0 / 0.6431 GB, free: 14.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.5003, allocations: 0 / 0.6431 GB, free: 14.28 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.002806/0.5031, allocations: 1.725 MB / 0.6448 GB, free: 12.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.5032, allocations: 12.03 kB / 0.6448 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003199/0.5035, allocations: 131.4 kB / 0.6449 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.5051, allocations: 1.046 MB / 0.646 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.5052, allocations: 53.31 kB / 0.646 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.5053, allocations: 68 kB / 0.6461 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.5066, allocations: 0.8058 MB / 0.6469 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.5066, allocations: 3.938 kB / 0.6469 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.545e-05/0.5067, allocations: 28 kB / 0.6469 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/0.5067, allocations: 23.97 kB / 0.6469 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.5077, allocations: 0.6063 MB / 0.6475 GB, free: 9.621 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.003985/0.5117, allocations: 3.232 MB / 0.6507 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007991/0.5125, allocations: 465.7 kB / 0.6511 GB, free: 5.762 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/0.5131, allocations: 312.7 kB / 0.6514 GB, free: 5.453 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008294/0.5139, allocations: 0.7635 MB / 0.6522 GB, free: 4.523 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.5139, allocations: 38.56 kB / 0.6522 GB, free: 4.477 MB / 494.1 MB Notification: Performance of pre-optimization done (n=38): time 2.655e-06/0.5139, allocations: 0 / 0.6522 GB, free: 4.477 MB / 494.1 MB Notification: Performance of matching and sorting (n=38): time 0.001697/0.5157, allocations: 0.9982 MB / 0.6532 GB, free: 3.453 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.244e-05/0.5158, allocations: 136.5 kB / 0.6533 GB, free: 3.289 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.5173, allocations: 1.087 MB / 0.6544 GB, free: 2.184 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.593e-05/0.5173, allocations: 37.64 kB / 0.6544 GB, free: 2.141 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/0.5178, allocations: 468.5 kB / 0.6548 GB, free: 1.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.5179, allocations: 130.1 kB / 0.655 GB, free: 1.551 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.5181, allocations: 114 kB / 0.6551 GB, free: 1.434 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.5183, allocations: 333.9 kB / 0.6554 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/0.5188, allocations: 350.6 kB / 0.6557 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000618/0.5194, allocations: 450.8 kB / 0.6562 GB, free: 292 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.5207, allocations: 0.9718 MB / 0.6571 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.5207, allocations: 7.938 kB / 0.6571 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001638/0.5223, allocations: 1.104 MB / 0.6582 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.5225, allocations: 186.2 kB / 0.6584 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.5225, allocations: 4.219 kB / 0.6584 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.5225, allocations: 4 kB / 0.6584 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/0.5229, allocations: 91.89 kB / 0.6585 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.5229, allocations: 4 kB / 0.6585 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006161/0.5236, allocations: 79.23 kB / 0.6586 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-05/0.5236, allocations: 24 kB / 0.6586 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000902/0.5245, allocations: 0.5946 MB / 0.6592 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005965/0.5251, allocations: 454.7 kB / 0.6596 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001168/0.5263, allocations: 0.9667 MB / 0.6605 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.5263, allocations: 3.938 kB / 0.6605 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001566/0.5279, allocations: 1.098 MB / 0.6616 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.5281, allocations: 186.2 kB / 0.6618 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.5281, allocations: 0 / 0.6618 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.672e-06/0.5281, allocations: 4 kB / 0.6618 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/0.5284, allocations: 92.05 kB / 0.6619 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.5285, allocations: 8 kB / 0.6619 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005984/0.5291, allocations: 63.64 kB / 0.6619 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.403e-05/0.5291, allocations: 20 kB / 0.662 GB, free: 9.988 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.0003088/0.5294, allocations: 301.2 kB / 0.6623 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.5296, allocations: 98.78 kB / 0.6623 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.5312, allocations: 0.9159 MB / 0.6632 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.5313, allocations: 4 kB / 0.6632 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5313, allocations: 0 / 0.6632 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001198/0.5325, allocations: 0.9795 MB / 0.6642 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003196/0.5357, allocations: 2.119 MB / 0.6663 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.5357, allocations: 7.938 kB / 0.6663 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.536, allocations: 59.91 kB / 0.6663 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.536, allocations: 4 kB / 0.6663 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.5361, allocations: 23.92 kB / 0.6664 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.5361, allocations: 12.28 kB / 0.6664 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.5361, allocations: 8 kB / 0.6664 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.5381, allocations: 1.397 MB / 0.6677 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004582/0.5385, allocations: 279.7 kB / 0.668 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/0.5387, allocations: 15.98 kB / 0.668 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005594/0.5393, allocations: 36.03 kB / 0.6681 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.5395, allocations: 43.89 kB / 0.6681 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.362e-05/0.5395, allocations: 23.98 kB / 0.6681 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001259/0.5408, allocations: 0.7845 MB / 0.6689 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5408, allocations: 0 / 0.6689 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001671/0.5425, allocations: 0.5187 MB / 0.6694 GB, free: 2.027 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.001067/0.5436, allocations: 393.9 kB / 0.6698 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002563/0.5461, allocations: 1.973 MB / 0.6717 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.5462, allocations: 0 / 0.6717 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007172/0.5469, allocations: 0.5466 MB / 0.6722 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/0.5496, allocations: 0.5372 MB / 0.6728 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.5531, allocations: 1.967 MB / 0.6747 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008324/0.554, allocations: 1.072 MB / 0.6757 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.5543, allocations: 75.42 kB / 0.6758 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of SimCode: time 1.202e-06/0.5543, allocations: 0 / 0.6758 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of Templates: time 0.03158/0.5859, allocations: 19.44 MB / 0.6948 GB, free: 8.004 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)