Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 181.2 kB / 327 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 0.578 GB, free: 20.41 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008445/0.0008443, allocations: 86.36 kB / 0.6826 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003498, allocations: 8.594 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1939, allocations: 106.3 MB / 0.9009 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03012/0.2241, allocations: 40.88 MB / 0.9408 GB, free: 22.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009553/0.2337, allocations: 8.793 MB / 0.9494 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001608/0.2353, allocations: 39.75 kB / 0.9495 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.2369, allocations: 485.4 kB / 0.9499 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003563/0.2405, allocations: 1.167 MB / 0.9511 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.2433, allocations: 1.039 MB / 0.9521 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002863/0.2461, allocations: 3.336 MB / 0.9553 GB, free: 7.848 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008372/0.247, allocations: 0.7458 MB / 0.9561 GB, free: 7.078 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.2482, allocations: 0.8516 MB / 0.9569 GB, free: 6.223 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006384/0.2489, allocations: 0.6881 MB / 0.9576 GB, free: 5.531 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.498e-05/0.2489, allocations: 40 kB / 0.9576 GB, free: 5.492 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/0.2507, allocations: 1.06 MB / 0.9587 GB, free: 4.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.2509, allocations: 247 kB / 0.9589 GB, free: 4.188 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004268/0.2514, allocations: 0.569 MB / 0.9594 GB, free: 3.609 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.2533, allocations: 2.216 MB / 0.9616 GB, free: 1.387 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.2533, allocations: 0 / 0.9616 GB, free: 1.387 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2533, allocations: 0 / 0.9616 GB, free: 1.387 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.2533, allocations: 3.938 kB / 0.9616 GB, free: 1.383 MB / 0.6042 GB 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.001932/0.2553, allocations: 1.511 MB / 0.9631 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.2553, allocations: 8.031 kB / 0.9631 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.2555, allocations: 110.7 kB / 0.9632 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.2557, allocations: 127.4 kB / 0.9633 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.2573, allocations: 1.075 MB / 0.9644 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.2573, allocations: 49.31 kB / 0.9644 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.93e-05/0.2574, allocations: 68 kB / 0.9645 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.2587, allocations: 0.8135 MB / 0.9653 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.2588, allocations: 0 / 0.9653 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.076e-05/0.2588, allocations: 28 kB / 0.9653 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/0.2589, allocations: 19.98 kB / 0.9653 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.2599, allocations: 0.618 MB / 0.9659 GB, free: 12.79 MB / 0.6198 GB 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.003718/0.2636, allocations: 3.209 MB / 0.9691 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008222/0.2645, allocations: 464.3 kB / 0.9695 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004544/0.2649, allocations: 322 kB / 0.9698 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007978/0.2658, allocations: 0.7792 MB / 0.9706 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.2658, allocations: 38.56 kB / 0.9706 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=38): time 2.174e-06/0.2658, allocations: 4 kB / 0.9706 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of matching and sorting (n=38): time 0.001622/0.2674, allocations: 1.013 MB / 0.9716 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.918e-05/0.2675, allocations: 140.5 kB / 0.9717 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.2689, allocations: 1.079 MB / 0.9728 GB, free: 5.336 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.488e-05/0.2689, allocations: 37.7 kB / 0.9728 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.2693, allocations: 464.5 kB / 0.9733 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.2694, allocations: 134.1 kB / 0.9734 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.2694, allocations: 12 kB / 0.9734 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2696, allocations: 325.9 kB / 0.9737 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005042/0.2701, allocations: 356.8 kB / 0.9741 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005694/0.2707, allocations: 454.7 kB / 0.9745 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.2718, allocations: 0.9796 MB / 0.9754 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2718, allocations: 4 kB / 0.9755 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001389/0.2732, allocations: 1.115 MB / 0.9765 GB, free: 1.324 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001821/0.2734, allocations: 319.4 kB / 0.9768 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.2734, allocations: 4 kB / 0.9768 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.2734, allocations: 4 kB / 0.9769 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.2738, allocations: 91.83 kB / 0.9769 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.2738, allocations: 7.938 kB / 0.9769 GB, free: 0.8398 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006601/0.2744, allocations: 119.1 kB / 0.9771 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.687e-05/0.2745, allocations: 24 kB / 0.9771 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.2745, allocations: 6.5 kB / 0.9771 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001469/0.276, allocations: 1.113 MB / 0.9782 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.276, allocations: 4 kB / 0.9782 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-06/0.276, allocations: 4 kB / 0.9782 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.2764, allocations: 87.95 kB / 0.9783 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2764, allocations: 7.984 kB / 0.9783 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005658/0.277, allocations: 103.6 kB / 0.9784 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.277, allocations: 23.98 kB / 0.9784 GB, free: 15.32 MB / 0.6355 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.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005347/0.2776, allocations: 489.9 kB / 0.9789 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.2777, allocations: 102.8 kB / 0.979 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.2792, allocations: 0.926 MB / 0.9799 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.2792, allocations: 8 kB / 0.9799 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2792, allocations: 0 / 0.9799 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001146/0.2804, allocations: 0.991 MB / 0.9808 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002979/0.2833, allocations: 2.121 MB / 0.9829 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.2834, allocations: 4 kB / 0.9829 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.2837, allocations: 67.91 kB / 0.983 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.978e-06/0.2837, allocations: 4 kB / 0.983 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/0.2837, allocations: 19.92 kB / 0.983 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.2837, allocations: 7.938 kB / 0.983 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.2837, allocations: 0 / 0.983 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.2856, allocations: 1.412 MB / 0.9844 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004025/0.286, allocations: 295.6 kB / 0.9847 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.2861, allocations: 20 kB / 0.9847 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005067/0.2867, allocations: 55.86 kB / 0.9847 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.2868, allocations: 47.95 kB / 0.9848 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/0.2869, allocations: 19.98 kB / 0.9848 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001075/0.2879, allocations: 0.7728 MB / 0.9856 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.71e-07/0.288, allocations: 0 / 0.9856 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001403/0.2894, allocations: 0.5187 MB / 0.9861 GB, free: 7.109 MB / 0.6355 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.002959/0.2923, allocations: 2.248 MB / 0.9883 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002323/0.2947, allocations: 1.961 MB / 0.9902 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2947, allocations: 0 / 0.9902 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006736/0.2954, allocations: 0.5536 MB / 0.9907 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002619/0.298, allocations: 0.5146 MB / 0.9912 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01517/0.3132, allocations: 9.59 MB / 1.001 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/0.3139, allocations: 1.068 MB / 1.002 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008912/0.3148, allocations: 214.4 kB / 1.002 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005454/0.3154, allocations: 387.3 kB / 1.002 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of SimCode: time 7.91e-07/0.3154, allocations: 0 / 1.002 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05864/0.374, allocations: 31.71 MB / 1.033 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002585/0.3743, allocations: 281.5 kB / 1.033 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.979/3.353, allocations: 2.344 kB / 1.033 GB, free: 6.281 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)