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.0009598/0.0009599, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008944/0.0008945, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.749/0.749, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002954, allocations: 12.62 kB / 0.5034 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3515, allocations: 81.59 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03613/0.3876, allocations: 38.66 MB / 0.6208 GB, free: 7.016 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.3984, allocations: 8.283 MB / 0.6289 GB, free: 320 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000827/0.3993, allocations: 35.84 kB / 0.629 GB, free: 304 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.4004, allocations: 415.5 kB / 0.6294 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.4024, allocations: 0.9794 MB / 0.6303 GB, free: 15.18 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.4048, allocations: 0.8527 MB / 0.6311 GB, free: 14.59 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0031/0.4079, allocations: 2.884 MB / 0.634 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008653/0.4087, allocations: 0.6376 MB / 0.6346 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.4101, allocations: 0.801 MB / 0.6354 GB, free: 10.91 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007746/0.4109, allocations: 0.6493 MB / 0.636 GB, free: 10.25 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.429e-05/0.411, allocations: 36 kB / 0.636 GB, free: 10.22 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001744/0.4128, allocations: 0.8694 MB / 0.6369 GB, free: 9.348 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.413, allocations: 235.1 kB / 0.6371 GB, free: 9.117 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.4133, allocations: 261.1 kB / 0.6374 GB, free: 8.855 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.4149, allocations: 1.746 MB / 0.6391 GB, free: 7.105 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4149, allocations: 4 kB / 0.6391 GB, free: 7.102 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4149, allocations: 0 / 0.6391 GB, free: 7.102 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.4149, allocations: 0 / 0.6391 GB, free: 7.102 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.002033/0.417, allocations: 1.522 MB / 0.6406 GB, free: 5.48 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.417, allocations: 16.02 kB / 0.6406 GB, free: 5.465 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.4173, allocations: 126.5 kB / 0.6407 GB, free: 5.34 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.4187, allocations: 1.031 MB / 0.6417 GB, free: 4.266 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/0.4188, allocations: 49.31 kB / 0.6417 GB, free: 4.219 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-05/0.4189, allocations: 72 kB / 0.6418 GB, free: 4.148 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.4202, allocations: 0.8058 MB / 0.6426 GB, free: 3.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.4202, allocations: 0 / 0.6426 GB, free: 3.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/0.4203, allocations: 28 kB / 0.6426 GB, free: 3.293 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.4203, allocations: 20 kB / 0.6426 GB, free: 3.273 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.4213, allocations: 0.6141 MB / 0.6432 GB, free: 2.656 MB / 478.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.003523/0.4248, allocations: 3.228 MB / 0.6464 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007412/0.4256, allocations: 462.7 kB / 0.6468 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000467/0.4261, allocations: 324 kB / 0.6471 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007262/0.4268, allocations: 0.7792 MB / 0.6479 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.4269, allocations: 34.56 kB / 0.6479 GB, free: 13.49 MB / 494.1 MB Notification: Performance of pre-optimization done (n=38): time 1.633e-06/0.4269, allocations: 0 / 0.6479 GB, free: 13.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=38): time 0.001507/0.4284, allocations: 1.009 MB / 0.6489 GB, free: 12.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.4285, allocations: 144.5 kB / 0.6491 GB, free: 12.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.4297, allocations: 1.063 MB / 0.6501 GB, free: 11.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.4298, allocations: 33.7 kB / 0.6501 GB, free: 11.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003666/0.4301, allocations: 476.6 kB / 0.6506 GB, free: 10.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.4302, allocations: 126.1 kB / 0.6507 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.4303, allocations: 19.88 kB / 0.6507 GB, free: 10.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.922e-05/0.4304, allocations: 322 kB / 0.651 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005056/0.4309, allocations: 348.8 kB / 0.6514 GB, free: 9.891 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/0.4315, allocations: 454.8 kB / 0.6518 GB, free: 9.414 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005968/0.4321, allocations: 0.5391 MB / 0.6523 GB, free: 8.844 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4321, allocations: 0 / 0.6523 GB, free: 8.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001394/0.4335, allocations: 1.104 MB / 0.6534 GB, free: 7.699 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.4337, allocations: 323.4 kB / 0.6537 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.4337, allocations: 7.984 kB / 0.6537 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.4337, allocations: 4 kB / 0.6537 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.4341, allocations: 99.83 kB / 0.6538 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.4341, allocations: 0 / 0.6538 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005355/0.4346, allocations: 103.3 kB / 0.6539 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.4347, allocations: 24 kB / 0.6539 GB, free: 7.082 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/0.4347, allocations: 4 kB / 0.6539 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001413/0.4361, allocations: 1.109 MB / 0.655 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.4361, allocations: 0 / 0.655 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.889e-06/0.4361, allocations: 8 kB / 0.655 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.4365, allocations: 87.89 kB / 0.6551 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.4365, allocations: 11.92 kB / 0.6551 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.437, allocations: 99.52 kB / 0.6552 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.437, allocations: 27.92 kB / 0.6553 GB, free: 5.703 MB / 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.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00043/0.4375, allocations: 483.6 kB / 0.6557 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.4376, allocations: 98.78 kB / 0.6558 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.439, allocations: 0.9298 MB / 0.6567 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.439, allocations: 7.984 kB / 0.6567 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.439, allocations: 0 / 0.6567 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001074/0.4401, allocations: 0.9861 MB / 0.6577 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002733/0.4428, allocations: 2.129 MB / 0.6598 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.4429, allocations: 4 kB / 0.6598 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.4431, allocations: 71.84 kB / 0.6598 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.4432, allocations: 4 kB / 0.6598 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.4432, allocations: 19.94 kB / 0.6599 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.4432, allocations: 4 kB / 0.6599 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4432, allocations: 288 / 0.6599 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.445, allocations: 1.409 MB / 0.6612 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003463/0.4453, allocations: 299.7 kB / 0.6615 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.4455, allocations: 23.89 kB / 0.6616 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004944/0.446, allocations: 59.88 kB / 0.6616 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.4461, allocations: 47.95 kB / 0.6617 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.4462, allocations: 27.92 kB / 0.6617 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009412/0.4471, allocations: 0.7611 MB / 0.6624 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.4471, allocations: 0 / 0.6624 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001173/0.4483, allocations: 0.5109 MB / 0.6629 GB, free: 13.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006537/0.449, allocations: 384.1 kB / 0.6633 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002091/0.4511, allocations: 1.946 MB / 0.6652 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4511, allocations: 0 / 0.6652 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006331/0.4517, allocations: 0.5466 MB / 0.6657 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/0.4537, allocations: 0.5014 MB / 0.6662 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.4564, allocations: 2.283 MB / 0.6684 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.457, allocations: 1.068 MB / 0.6695 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006146/0.4576, allocations: 212 kB / 0.6697 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.4578, allocations: 83.41 kB / 0.6698 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.4578, allocations: 0 / 0.6698 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of Templates: time 0.04663/0.5044, allocations: 22.41 MB / 0.6917 GB, free: 180 kB / 0.5137 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)