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.001705/0.001705, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01079/0.01079, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8148/0.8148, allocations: 132.4 MB / 423.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003763, allocations: 9.156 kB / 0.504 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.433, allocations: 81.58 MB / 0.5837 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.04834/0.4814, allocations: 40.85 MB / 0.6236 GB, free: 5.066 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01392/0.4954, allocations: 8.86 MB / 0.6322 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/0.4971, allocations: 36.41 kB / 0.6323 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001952/0.4991, allocations: 493.9 kB / 0.6327 GB, free: 13.54 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004245/0.5034, allocations: 1.155 MB / 0.6339 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003684/0.5071, allocations: 1.054 MB / 0.6349 GB, free: 11.82 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004718/0.5118, allocations: 3.352 MB / 0.6382 GB, free: 8.5 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.5134, allocations: 0.7494 MB / 0.6389 GB, free: 7.73 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002168/0.5156, allocations: 0.832 MB / 0.6397 GB, free: 6.895 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.517, allocations: 0.6881 MB / 0.6404 GB, free: 6.203 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002466/0.5172, allocations: 40 kB / 0.6404 GB, free: 6.164 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002872/0.5201, allocations: 1.056 MB / 0.6415 GB, free: 5.105 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004079/0.5205, allocations: 255 kB / 0.6417 GB, free: 4.855 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.5216, allocations: 0.5651 MB / 0.6422 GB, free: 4.281 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004118/0.5258, allocations: 2.227 MB / 0.6444 GB, free: 2.047 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5258, allocations: 4 kB / 0.6444 GB, free: 2.043 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5258, allocations: 0 / 0.6444 GB, free: 2.043 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.376e-05/0.5259, allocations: 0 / 0.6444 GB, free: 2.043 MB / 478.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.003071/0.5289, allocations: 1.515 MB / 0.6459 GB, free: 440 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.529, allocations: 12.03 kB / 0.6459 GB, free: 428 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004341/0.5294, allocations: 127.4 kB / 0.646 GB, free: 300 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.5315, allocations: 1.065 MB / 0.6471 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-05/0.5316, allocations: 53.31 kB / 0.6471 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.5317, allocations: 68 kB / 0.6472 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.5333, allocations: 0.8136 MB / 0.648 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.5333, allocations: 4 kB / 0.648 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.647e-05/0.5334, allocations: 24 kB / 0.648 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.5335, allocations: 19.98 kB / 0.648 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.5346, allocations: 0.6259 MB / 0.6486 GB, free: 13.55 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.004419/0.5391, allocations: 3.22 MB / 0.6518 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008338/0.5399, allocations: 462.7 kB / 0.6522 GB, free: 9.703 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/0.5404, allocations: 320.6 kB / 0.6525 GB, free: 9.387 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008382/0.5413, allocations: 0.7831 MB / 0.6533 GB, free: 8.438 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.5413, allocations: 38.56 kB / 0.6533 GB, free: 8.391 MB / 494.1 MB Notification: Performance of pre-optimization done (n=38): time 2.224e-06/0.5413, allocations: 0 / 0.6533 GB, free: 8.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=38): time 0.001765/0.5431, allocations: 1.01 MB / 0.6543 GB, free: 7.355 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.5432, allocations: 140.5 kB / 0.6545 GB, free: 7.188 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.5448, allocations: 1.075 MB / 0.6555 GB, free: 6.094 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.894e-05/0.5449, allocations: 37.7 kB / 0.6555 GB, free: 6.051 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004006/0.5453, allocations: 468.5 kB / 0.656 GB, free: 5.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.5455, allocations: 130.1 kB / 0.6561 GB, free: 5.461 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.054e-05/0.5455, allocations: 57.69 kB / 0.6562 GB, free: 5.398 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5457, allocations: 325.9 kB / 0.6565 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005577/0.5462, allocations: 352.8 kB / 0.6568 GB, free: 4.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006508/0.5469, allocations: 458.8 kB / 0.6573 GB, free: 4.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.5482, allocations: 0.9757 MB / 0.6582 GB, free: 3.203 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5482, allocations: 0 / 0.6582 GB, free: 3.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001865/0.5501, allocations: 1.115 MB / 0.6593 GB, free: 2.043 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002281/0.5503, allocations: 319.4 kB / 0.6596 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.5503, allocations: 0 / 0.6596 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.5503, allocations: 8 kB / 0.6596 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/0.5507, allocations: 91.89 kB / 0.6597 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/0.5508, allocations: 15.81 kB / 0.6597 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007379/0.5515, allocations: 111.2 kB / 0.6598 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.69e-05/0.5516, allocations: 23.98 kB / 0.6598 GB, free: 1.418 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.5516, allocations: 4 kB / 0.6598 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001613/0.5532, allocations: 1.114 MB / 0.6609 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5532, allocations: 4 kB / 0.6609 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.863e-06/0.5533, allocations: 4 kB / 0.6609 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.5536, allocations: 96.11 kB / 0.661 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5536, allocations: 4 kB / 0.661 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007599/0.5544, allocations: 99.38 kB / 0.6611 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/0.5545, allocations: 20 kB / 0.6612 GB, free: 44 kB / 494.1 MB 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.0006589/0.5551, allocations: 487.4 kB / 0.6616 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.5553, allocations: 98.78 kB / 0.6617 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/0.5569, allocations: 0.9375 MB / 0.6626 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.5569, allocations: 4 kB / 0.6626 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.557, allocations: 4 kB / 0.6626 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001153/0.5581, allocations: 0.9874 MB / 0.6636 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003284/0.5614, allocations: 2.125 MB / 0.6657 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.5614, allocations: 4 kB / 0.6657 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.5617, allocations: 63.91 kB / 0.6657 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.5618, allocations: 12.22 kB / 0.6657 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.5618, allocations: 19.98 kB / 0.6658 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.5618, allocations: 4 kB / 0.6658 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.5618, allocations: 7.938 kB / 0.6658 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.5638, allocations: 1.412 MB / 0.6672 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004547/0.5643, allocations: 299.6 kB / 0.6674 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.5644, allocations: 19.94 kB / 0.6675 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/0.565, allocations: 52.02 kB / 0.6675 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.5652, allocations: 47.94 kB / 0.6676 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-05/0.5653, allocations: 19.98 kB / 0.6676 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001184/0.5664, allocations: 0.7728 MB / 0.6683 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5665, allocations: 4 kB / 0.6683 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001475/0.5679, allocations: 0.5148 MB / 0.6688 GB, free: 7.82 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.0009159/0.5689, allocations: 390.3 kB / 0.6692 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002485/0.5714, allocations: 1.966 MB / 0.6711 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.5714, allocations: 0 / 0.6711 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007059/0.5721, allocations: 0.5494 MB / 0.6717 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002869/0.575, allocations: 0.5123 MB / 0.6722 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/0.5783, allocations: 2.274 MB / 0.6744 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007666/0.5791, allocations: 1.072 MB / 0.6754 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008422/0.5799, allocations: 212.9 kB / 0.6756 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.5801, allocations: 83.41 kB / 0.6757 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.5801, allocations: 0 / 0.6757 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of Templates: time 0.03959/0.6197, allocations: 23.58 MB / 0.6987 GB, free: 9.305 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)