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.00141/0.00141, allocations: 104 kB / 16.35 MB, free: 5.824 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.001581/0.001581, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7657/0.7657, allocations: 132.2 MB / 423.3 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 59.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3293, allocations: 80.19 MB / 0.5815 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03231/0.3616, allocations: 41.95 MB / 0.6225 GB, free: 4.199 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01286/0.3745, allocations: 8.88 MB / 0.6311 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00238/0.377, allocations: 35.81 kB / 0.6312 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.3791, allocations: 0.5784 MB / 0.6317 GB, free: 10.69 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003509/0.3826, allocations: 1.263 MB / 0.633 GB, free: 9.418 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002999/0.3856, allocations: 1.191 MB / 0.6341 GB, free: 8.234 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003474/0.3891, allocations: 2.674 MB / 0.6367 GB, free: 5.559 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.3903, allocations: 0.9225 MB / 0.6376 GB, free: 4.613 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002173/0.3925, allocations: 1.045 MB / 0.6387 GB, free: 3.566 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009604/0.3935, allocations: 0.7468 MB / 0.6394 GB, free: 2.816 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.3937, allocations: 124 kB / 0.6395 GB, free: 2.695 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002557/0.3962, allocations: 1.193 MB / 0.6407 GB, free: 1.5 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003034/0.3965, allocations: 331 kB / 0.641 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006069/0.3972, allocations: 0.6416 MB / 0.6416 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00281/0.4, allocations: 2.347 MB / 0.6439 GB, free: 14.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4, allocations: 0 / 0.6439 GB, free: 14.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4, allocations: 0 / 0.6439 GB, free: 14.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.4, allocations: 0 / 0.6439 GB, free: 14.18 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.002497/0.4025, allocations: 1.736 MB / 0.6456 GB, free: 12.35 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.4026, allocations: 12.02 kB / 0.6456 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002829/0.4029, allocations: 131.4 kB / 0.6457 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.4046, allocations: 1.081 MB / 0.6468 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.257e-05/0.4046, allocations: 57.19 kB / 0.6469 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.4047, allocations: 68 kB / 0.6469 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.406, allocations: 0.8019 MB / 0.6477 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.4061, allocations: 4 kB / 0.6477 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.04e-05/0.4061, allocations: 28 kB / 0.6477 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.4062, allocations: 12 kB / 0.6477 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.4072, allocations: 0.6141 MB / 0.6483 GB, free: 9.477 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.003724/0.4109, allocations: 3.201 MB / 0.6515 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007605/0.4117, allocations: 478.7 kB / 0.6519 GB, free: 5.637 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00046/0.4122, allocations: 311.4 kB / 0.6522 GB, free: 5.332 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007623/0.4129, allocations: 0.7714 MB / 0.653 GB, free: 4.395 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.413, allocations: 38.56 kB / 0.653 GB, free: 4.348 MB / 494.1 MB Notification: Performance of pre-optimization done (n=38): time 2.354e-06/0.413, allocations: 0 / 0.653 GB, free: 4.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=38): time 0.001621/0.4146, allocations: 0.9826 MB / 0.654 GB, free: 3.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/0.4147, allocations: 144.5 kB / 0.6541 GB, free: 3.168 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.416, allocations: 1.09 MB / 0.6552 GB, free: 2.059 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.488e-05/0.4161, allocations: 37.7 kB / 0.6552 GB, free: 2.016 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.4164, allocations: 468.5 kB / 0.6557 GB, free: 1.555 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.4166, allocations: 130.1 kB / 0.6558 GB, free: 1.426 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.4167, allocations: 110 kB / 0.6559 GB, free: 1.312 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.4168, allocations: 329.9 kB / 0.6562 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/0.4174, allocations: 350.6 kB / 0.6565 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.4179, allocations: 454.8 kB / 0.657 GB, free: 168 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.4191, allocations: 0.9718 MB / 0.6579 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4191, allocations: 0 / 0.6579 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001465/0.4206, allocations: 1.104 MB / 0.659 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.4207, allocations: 186.2 kB / 0.6592 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.4207, allocations: 4 kB / 0.6592 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.4207, allocations: 4 kB / 0.6592 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.4211, allocations: 87.89 kB / 0.6593 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.4211, allocations: 8.219 kB / 0.6593 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/0.4217, allocations: 79.25 kB / 0.6594 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-05/0.4217, allocations: 27.92 kB / 0.6594 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008286/0.4226, allocations: 0.5985 MB / 0.66 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005627/0.4231, allocations: 450.8 kB / 0.6604 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001054/0.4242, allocations: 0.9707 MB / 0.6613 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.893e-06/0.4242, allocations: 0 / 0.6613 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001414/0.4256, allocations: 1.102 MB / 0.6624 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.755e-05/0.4257, allocations: 182.2 kB / 0.6626 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.4257, allocations: 0 / 0.6626 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.392e-06/0.4258, allocations: 4 kB / 0.6626 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.4261, allocations: 91.88 kB / 0.6627 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.4261, allocations: 7.938 kB / 0.6627 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.4266, allocations: 59.66 kB / 0.6627 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/0.4267, allocations: 28.08 kB / 0.6628 GB, free: 9.867 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.0002302/0.4269, allocations: 305.2 kB / 0.6631 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.4271, allocations: 102.8 kB / 0.6632 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.4285, allocations: 0.9166 MB / 0.6641 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.4285, allocations: 4 kB / 0.6641 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4286, allocations: 0 / 0.6641 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001097/0.4297, allocations: 0.9795 MB / 0.665 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002965/0.4326, allocations: 2.111 MB / 0.6671 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.4327, allocations: 7.938 kB / 0.6671 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.4329, allocations: 72.17 kB / 0.6672 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.433, allocations: 4 kB / 0.6672 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.433, allocations: 12 kB / 0.6672 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.433, allocations: 4 kB / 0.6672 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.433, allocations: 4 kB / 0.6672 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.4349, allocations: 1.402 MB / 0.6685 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004209/0.4353, allocations: 283.7 kB / 0.6688 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.4354, allocations: 16 kB / 0.6688 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004594/0.4359, allocations: 31.95 kB / 0.6689 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.436, allocations: 47.89 kB / 0.6689 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/0.4361, allocations: 19.98 kB / 0.6689 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001025/0.4371, allocations: 0.7922 MB / 0.6697 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4371, allocations: 0 / 0.6697 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001347/0.4385, allocations: 0.5187 MB / 0.6702 GB, free: 1.906 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.0007945/0.4393, allocations: 408.1 kB / 0.6706 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002183/0.4415, allocations: 1.943 MB / 0.6725 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4415, allocations: 0 / 0.6725 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000649/0.4422, allocations: 0.5494 MB / 0.673 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.4442, allocations: 0.5247 MB / 0.6735 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.4469, allocations: 1.886 MB / 0.6754 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006123/0.4475, allocations: 1.068 MB / 0.6764 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006139/0.4481, allocations: 209.1 kB / 0.6766 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.4483, allocations: 79.41 kB / 0.6767 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of SimCode: time 6.91e-07/0.4483, allocations: 3.938 kB / 0.6767 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of Templates: time 0.0378/0.4861, allocations: 24.37 MB / 0.7005 GB, free: 2.973 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)