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.913/2.913, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001462/0.001462, allocations: 186.5 kB / 370.8 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.071/2.071, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.00114/0.00114, allocations: 94.84 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006546/0.0006546, allocations: 15.75 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2162, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.04917/0.2655, allocations: 35.25 MB / 1.013 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01829/0.2838, allocations: 7.68 MB / 1.02 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.2854, allocations: 35.75 kB / 1.02 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.2881, allocations: 0.5015 MB / 1.021 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005316/0.2935, allocations: 1.161 MB / 1.022 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005676/0.2992, allocations: 1.169 MB / 1.023 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004258/0.3035, allocations: 1.493 MB / 1.024 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.3052, allocations: 0.6417 MB / 1.025 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002547/0.3078, allocations: 0.7239 MB / 1.026 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.3092, allocations: 485.7 kB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002478/0.3094, allocations: 36 kB / 1.026 GB, free: 11 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.3125, allocations: 0.741 MB / 1.027 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005524/0.3131, allocations: 211.2 kB / 1.027 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0005531/0.3137, allocations: 269 kB / 1.027 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003714/0.3174, allocations: 1.652 MB / 1.029 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3174, allocations: 0 / 1.029 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.186e-06/0.3175, allocations: 4 kB / 1.029 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.888e-05/0.3175, allocations: 0 / 1.029 GB, free: 8.121 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.003928/0.3215, allocations: 1.514 MB / 1.031 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.3215, allocations: 8.031 kB / 1.031 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003336/0.3219, allocations: 106.5 kB / 1.031 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000535/0.3224, allocations: 134.4 kB / 1.031 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003189/0.3256, allocations: 1.124 MB / 1.032 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.748e-05/0.3257, allocations: 49.31 kB / 1.032 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.3259, allocations: 68 kB / 1.032 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.3283, allocations: 0.8019 MB / 1.033 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/0.3283, allocations: 0 / 1.033 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.3285, allocations: 28 kB / 1.033 GB, free: 4.121 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-05/0.3285, allocations: 19.98 kB / 1.033 GB, free: 4.102 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.3305, allocations: 0.6102 MB / 1.033 GB, free: 3.492 MB / 0.6511 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.006871/0.3374, allocations: 3.138 MB / 1.037 GB, free: 188 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.3389, allocations: 471.2 kB / 1.037 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/0.3402, allocations: 0.7753 MB / 1.038 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/0.3402, allocations: 42.56 kB / 1.038 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=38): time 3.186e-06/0.3403, allocations: 0 / 1.038 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of matching and sorting (n=38): time 0.003136/0.3434, allocations: 1.247 MB / 1.039 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.3436, allocations: 140.4 kB / 1.039 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/0.3457, allocations: 1.001 MB / 1.04 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001557/0.3459, allocations: 33.7 kB / 1.04 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000656/0.3466, allocations: 480.3 kB / 1.041 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/0.3468, allocations: 126.2 kB / 1.041 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.3469, allocations: 12 kB / 1.041 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3471, allocations: 325.9 kB / 1.041 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009103/0.348, allocations: 324.8 kB / 1.041 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.349, allocations: 443.5 kB / 1.042 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.3501, allocations: 0.5196 MB / 1.042 GB, free: 9.898 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.3501, allocations: 0 / 1.042 GB, free: 9.898 MB / 0.6667 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002685/0.3528, allocations: 1.072 MB / 1.043 GB, free: 8.789 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005358/0.3534, allocations: 0.9628 MB / 1.044 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.3535, allocations: 0 / 1.044 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.087e-05/0.3535, allocations: 11.94 kB / 1.044 GB, free: 7.715 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007719/0.3543, allocations: 95.88 kB / 1.044 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.3543, allocations: 8 kB / 1.044 GB, free: 7.613 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.3556, allocations: 111.2 kB / 1.044 GB, free: 7.504 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.3557, allocations: 28 kB / 1.045 GB, free: 7.477 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3558, allocations: 7.938 kB / 1.045 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002635/0.3584, allocations: 1.078 MB / 1.046 GB, free: 6.355 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3585, allocations: 0 / 1.046 GB, free: 6.355 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3585, allocations: 4 kB / 1.046 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/0.3592, allocations: 95.83 kB / 1.046 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.3592, allocations: 4 kB / 1.046 GB, free: 6.254 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.3604, allocations: 99.56 kB / 1.046 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.3606, allocations: 35.98 kB / 1.046 GB, free: 6.121 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (54): * Single equations (assignments): 48 * 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.0009041/0.3615, allocations: 474 kB / 1.046 GB, free: 5.629 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003116/0.3618, allocations: 106.7 kB / 1.046 GB, free: 5.523 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.3643, allocations: 0.9213 MB / 1.047 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.3644, allocations: 4 kB / 1.047 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3644, allocations: 0 / 1.047 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002016/0.3665, allocations: 0.9878 MB / 1.048 GB, free: 3.504 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005343/0.3718, allocations: 2.082 MB / 1.05 GB, free: 1.301 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.3719, allocations: 4 kB / 1.05 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005541/0.3725, allocations: 71.89 kB / 1.05 GB, free: 1.227 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.3725, allocations: 4 kB / 1.05 GB, free: 1.223 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.3726, allocations: 12 kB / 1.05 GB, free: 1.211 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/0.3726, allocations: 4.281 kB / 1.05 GB, free: 1.207 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/0.3726, allocations: 19.94 kB / 1.05 GB, free: 1.188 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003454/0.3761, allocations: 1.527 MB / 1.052 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008008/0.3769, allocations: 291.5 kB / 1.052 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.3772, allocations: 19.95 kB / 1.052 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.3782, allocations: 51.95 kB / 1.052 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.3785, allocations: 43.95 kB / 1.052 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-05/0.3786, allocations: 23.98 kB / 1.052 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001663/0.3802, allocations: 0.7179 MB / 1.053 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.31e-07/0.3803, allocations: 0 / 1.053 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002351/0.3826, allocations: 0.5109 MB / 1.053 GB, free: 13.88 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.005219/0.3879, allocations: 2.982 MB / 1.056 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003963/0.3919, allocations: 1.903 MB / 1.058 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.392, allocations: 0.9375 kB / 1.058 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.3932, allocations: 0.5494 MB / 1.059 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004222/0.3975, allocations: 0.5018 MB / 1.059 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007594/0.4051, allocations: 4.118 MB / 1.063 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009839/0.4062, allocations: 1.095 MB / 1.064 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001401/0.4076, allocations: 210.4 kB / 1.065 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008329/0.4085, allocations: 383.3 kB / 1.065 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of SimCode: time 1.162e-06/0.4085, allocations: 0 / 1.065 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.704/1.112, allocations: 31.55 MB / 1.096 GB, free: 79.57 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/1.113, allocations: 261.6 kB / 1.096 GB, free: 79.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.822/4.934, allocations: 4 kB / 1.096 GB, free: 79.23 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)