Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.845/2.845, allocations: 287.5 MB / 302.4 MB, free: 8.387 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 182 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008754/0.0008754, allocations: 96.39 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004943, allocations: 17.52 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2143, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.04916/0.2635, allocations: 38.67 MB / 1.016 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0174/0.281, allocations: 8.242 MB / 1.024 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.2826, allocations: 31.81 kB / 1.024 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.2846, allocations: 417.4 kB / 1.025 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004195/0.2888, allocations: 0.9843 MB / 1.026 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003924/0.2927, allocations: 0.8499 MB / 1.026 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005402/0.2982, allocations: 2.887 MB / 1.029 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.2997, allocations: 0.6338 MB / 1.03 GB, free: 7.375 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002474/0.3022, allocations: 0.801 MB / 1.031 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.3037, allocations: 0.6493 MB / 1.031 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.3039, allocations: 36 kB / 1.031 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.307, allocations: 0.8772 MB / 1.032 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004119/0.3074, allocations: 235.1 kB / 1.032 GB, free: 4.773 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004719/0.3079, allocations: 261.1 kB / 1.033 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003364/0.3113, allocations: 1.746 MB / 1.034 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.3113, allocations: 4 kB / 1.034 GB, free: 2.758 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.205e-06/0.3113, allocations: 0 / 1.034 GB, free: 2.758 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.3113, allocations: 0 / 1.034 GB, free: 2.758 MB / 0.6511 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.003663/0.315, allocations: 1.526 MB / 1.036 GB, free: 1.137 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.3151, allocations: 11.97 kB / 1.036 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002352/0.3153, allocations: 110.5 kB / 1.036 GB, free: 1.008 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004093/0.3158, allocations: 134.5 kB / 1.036 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002698/0.3185, allocations: 1.023 MB / 1.037 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.3186, allocations: 49.31 kB / 1.037 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.3187, allocations: 68 kB / 1.037 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/0.3209, allocations: 0.8175 MB / 1.038 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.321, allocations: 0 / 1.038 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.3211, allocations: 24 kB / 1.038 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.152e-05/0.3212, allocations: 20 kB / 1.038 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.323, allocations: 0.6141 MB / 1.039 GB, free: 14.2 MB / 0.6667 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.006706/0.3297, allocations: 3.22 MB / 1.042 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.3311, allocations: 462.7 kB / 1.042 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008174/0.3319, allocations: 316.7 kB / 1.043 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001295/0.3332, allocations: 0.7792 MB / 1.043 GB, free: 9.086 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.406e-05/0.3333, allocations: 38.56 kB / 1.043 GB, free: 9.039 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=38): time 3.196e-06/0.3333, allocations: 0 / 1.043 GB, free: 9.039 MB / 0.6667 GB Notification: Performance of matching and sorting (n=38): time 0.002848/0.3362, allocations: 1.017 MB / 1.044 GB, free: 7.996 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.3363, allocations: 140.5 kB / 1.045 GB, free: 7.828 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/0.3386, allocations: 1.063 MB / 1.046 GB, free: 6.746 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.783e-05/0.3387, allocations: 33.7 kB / 1.046 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005863/0.3393, allocations: 472.5 kB / 1.046 GB, free: 6.242 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.3395, allocations: 134.1 kB / 1.046 GB, free: 6.109 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.3396, allocations: 8 kB / 1.046 GB, free: 6.102 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.3397, allocations: 330 kB / 1.046 GB, free: 5.773 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008948/0.3407, allocations: 344.8 kB / 1.047 GB, free: 5.438 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.3417, allocations: 458.7 kB / 1.047 GB, free: 4.961 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.3428, allocations: 0.5391 MB / 1.048 GB, free: 4.383 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.3428, allocations: 4 kB / 1.048 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002589/0.3454, allocations: 1.108 MB / 1.049 GB, free: 3.234 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002593/0.3457, allocations: 329.6 kB / 1.049 GB, free: 2.848 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.3457, allocations: 0 / 1.049 GB, free: 2.848 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.3457, allocations: 4 kB / 1.049 GB, free: 2.844 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006928/0.3464, allocations: 91.89 kB / 1.049 GB, free: 2.754 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.3465, allocations: 7.938 kB / 1.049 GB, free: 2.746 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.3477, allocations: 111.2 kB / 1.049 GB, free: 2.637 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.549e-05/0.3478, allocations: 27.98 kB / 1.049 GB, free: 2.609 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.3478, allocations: 8 kB / 1.049 GB, free: 2.602 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002537/0.3504, allocations: 1.101 MB / 1.051 GB, free: 1.465 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3504, allocations: 224 / 1.051 GB, free: 1.465 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.3505, allocations: 11.94 kB / 1.051 GB, free: 1.453 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006639/0.3511, allocations: 91.89 kB / 1.051 GB, free: 1.363 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.3512, allocations: 4 kB / 1.051 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.3524, allocations: 103.4 kB / 1.051 GB, free: 1.258 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.229e-05/0.3525, allocations: 27.94 kB / 1.051 GB, free: 1.23 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009099/0.3534, allocations: 478 kB / 1.051 GB, free: 0.7344 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.3537, allocations: 102.8 kB / 1.051 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/0.3561, allocations: 0.9243 MB / 1.052 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.3562, allocations: 4 kB / 1.052 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3562, allocations: 0 / 1.052 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001918/0.3581, allocations: 0.9839 MB / 1.053 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005293/0.3634, allocations: 2.132 MB / 1.055 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.3635, allocations: 12.23 kB / 1.055 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005501/0.3641, allocations: 75.88 kB / 1.055 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/0.3641, allocations: 4 kB / 1.055 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-05/0.3642, allocations: 12 kB / 1.055 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.958e-06/0.3642, allocations: 4 kB / 1.055 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.577e-06/0.3642, allocations: 7.938 kB / 1.055 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0033/0.3675, allocations: 1.404 MB / 1.057 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007949/0.3683, allocations: 307.4 kB / 1.057 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/0.3686, allocations: 12 kB / 1.057 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009889/0.3696, allocations: 52.02 kB / 1.057 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.3698, allocations: 51.94 kB / 1.057 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.253e-05/0.3699, allocations: 20 kB / 1.057 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001742/0.3716, allocations: 0.7611 MB / 1.058 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.575e-06/0.3717, allocations: 0 / 1.058 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002188/0.3739, allocations: 0.5225 MB / 1.058 GB, free: 9.035 MB / 0.6823 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.004716/0.3786, allocations: 2.228 MB / 1.061 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003856/0.3825, allocations: 1.943 MB / 1.062 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.3826, allocations: 0 / 1.062 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.3838, allocations: 0.5492 MB / 1.063 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004557/0.3884, allocations: 0.5105 MB / 1.064 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6166/1.005, allocations: 7.252 MB / 1.071 GB, free: 88.24 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000959/1.006, allocations: 1.067 MB / 1.072 GB, free: 87.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001397/1.007, allocations: 205.9 kB / 1.072 GB, free: 87.49 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007888/1.008, allocations: 382.5 kB / 1.072 GB, free: 87.21 MB / 0.6823 GB Notification: Performance of SimCode: time 2.594e-06/1.008, allocations: 1.156 kB / 1.072 GB, free: 87.21 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1041/1.112, allocations: 32.49 MB / 1.104 GB, free: 77.01 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003444/1.113, allocations: 261.6 kB / 1.104 GB, free: 76.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.845/4.957, allocations: 0 / 1.104 GB, free: 76.68 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)