Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.699/1.699, allocations: 288.4 MB / 303.3 MB, free: 8.164 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.000965/0.000965, allocations: 180.5 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0008196/0.0008196, allocations: 97.8 kB / 0.7441 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003735, allocations: 17.34 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1846, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03245/0.2171, allocations: 38.67 MB / 1.017 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01139/0.2286, allocations: 8.245 MB / 1.025 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.2298, allocations: 31.81 kB / 1.026 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.2313, allocations: 409.5 kB / 1.026 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002723/0.2341, allocations: 0.9882 MB / 1.027 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.2365, allocations: 0.8531 MB / 1.028 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003117/0.2396, allocations: 2.883 MB / 1.031 GB, free: 7.363 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009071/0.2406, allocations: 0.6415 MB / 1.031 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.2419, allocations: 0.7893 MB / 1.032 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000793/0.2427, allocations: 0.6494 MB / 1.033 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 9.29e-05/0.2428, allocations: 40 kB / 1.033 GB, free: 5.227 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.2444, allocations: 0.8694 MB / 1.033 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.2446, allocations: 239.1 kB / 1.034 GB, free: 4.121 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.2449, allocations: 265 kB / 1.034 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.2466, allocations: 1.742 MB / 1.036 GB, free: 2.109 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.2466, allocations: 4 kB / 1.036 GB, free: 2.105 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2466, allocations: 0 / 1.036 GB, free: 2.105 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.569e-05/0.2467, allocations: 0 / 1.036 GB, free: 2.105 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.00226/0.2489, allocations: 1.531 MB / 1.037 GB, free: 492 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.249, allocations: 12.03 kB / 1.037 GB, free: 480 kB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001315/0.2491, allocations: 98.52 kB / 1.037 GB, free: 372 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002557/0.2494, allocations: 142.4 kB / 1.037 GB, free: 228 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.251, allocations: 1.019 MB / 1.038 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.325e-05/0.251, allocations: 53.31 kB / 1.038 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.2511, allocations: 67.98 kB / 1.038 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.2525, allocations: 0.8097 MB / 1.039 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.2525, allocations: 0 / 1.039 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/0.2526, allocations: 28 kB / 1.039 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.2526, allocations: 19.98 kB / 1.039 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.2537, allocations: 0.6141 MB / 1.04 GB, free: 13.55 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.003883/0.2576, allocations: 3.22 MB / 1.043 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008115/0.2584, allocations: 458.9 kB / 1.043 GB, free: 9.699 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000479/0.2589, allocations: 316.6 kB / 1.044 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008016/0.2597, allocations: 0.787 MB / 1.045 GB, free: 8.434 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.2598, allocations: 42.55 kB / 1.045 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=38): time 1.894e-06/0.2598, allocations: 0 / 1.045 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of matching and sorting (n=38): time 0.001557/0.2613, allocations: 1.009 MB / 1.046 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.2614, allocations: 140.5 kB / 1.046 GB, free: 7.18 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.2628, allocations: 1.071 MB / 1.047 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.2628, allocations: 33.7 kB / 1.047 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.2632, allocations: 468.5 kB / 1.047 GB, free: 5.59 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.2633, allocations: 130.1 kB / 1.047 GB, free: 5.461 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.2634, allocations: 8 kB / 1.047 GB, free: 5.453 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2635, allocations: 326 kB / 1.048 GB, free: 5.129 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/0.264, allocations: 360.8 kB / 1.048 GB, free: 4.777 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006047/0.2647, allocations: 450.7 kB / 1.048 GB, free: 4.305 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000644/0.2653, allocations: 0.5391 MB / 1.049 GB, free: 3.73 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2653, allocations: 0 / 1.049 GB, free: 3.73 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001454/0.2668, allocations: 1.111 MB / 1.05 GB, free: 2.578 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.267, allocations: 319.4 kB / 1.05 GB, free: 2.203 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.267, allocations: 4 kB / 1.05 GB, free: 2.199 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.267, allocations: 8 kB / 1.05 GB, free: 2.191 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/0.2674, allocations: 99.81 kB / 1.05 GB, free: 2.094 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.2674, allocations: 4 kB / 1.05 GB, free: 2.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000608/0.268, allocations: 113.1 kB / 1.051 GB, free: 1.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.2681, allocations: 20 kB / 1.051 GB, free: 1.961 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.731e-06/0.2681, allocations: 4 kB / 1.051 GB, free: 1.957 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001445/0.2695, allocations: 1.109 MB / 1.052 GB, free: 0.8086 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-06/0.2696, allocations: 0 / 1.052 GB, free: 0.8086 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-06/0.2696, allocations: 4 kB / 1.052 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.2699, allocations: 100.1 kB / 1.052 GB, free: 0.707 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2699, allocations: 11.92 kB / 1.052 GB, free: 0.6953 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005681/0.2705, allocations: 99.38 kB / 1.052 GB, free: 0.5977 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/0.2706, allocations: 24 kB / 1.052 GB, free: 0.5742 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.0004759/0.2711, allocations: 478 kB / 1.052 GB, free: 80 kB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.2712, allocations: 103 kB / 1.052 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.2726, allocations: 0.9217 MB / 1.053 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.2726, allocations: 4 kB / 1.053 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2727, allocations: 4 kB / 1.053 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001168/0.2738, allocations: 0.9881 MB / 1.054 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002952/0.2768, allocations: 2.14 MB / 1.056 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.2768, allocations: 4 kB / 1.056 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000284/0.2771, allocations: 64.14 kB / 1.057 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.2771, allocations: 8 kB / 1.057 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/0.2772, allocations: 19.98 kB / 1.057 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.2772, allocations: 7.938 kB / 1.057 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.2772, allocations: 0 / 1.057 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.279, allocations: 1.412 MB / 1.058 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003755/0.2794, allocations: 299.6 kB / 1.058 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.2796, allocations: 19.95 kB / 1.058 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005137/0.2801, allocations: 55.95 kB / 1.058 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.2802, allocations: 43.94 kB / 1.058 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.2803, allocations: 23.98 kB / 1.058 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001035/0.2813, allocations: 0.7727 MB / 1.059 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2813, allocations: 0 / 1.059 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001302/0.2826, allocations: 0.5109 MB / 1.06 GB, free: 8.371 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.002872/0.2855, allocations: 2.223 MB / 1.062 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002305/0.2878, allocations: 1.95 MB / 1.064 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.2878, allocations: 4.062 kB / 1.064 GB, free: 3.973 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006767/0.2885, allocations: 0.5414 MB / 1.064 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/0.2908, allocations: 0.5176 MB / 1.065 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4043/0.6952, allocations: 7.238 MB / 1.072 GB, free: 87.39 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/0.6958, allocations: 1.068 MB / 1.073 GB, free: 86.65 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008506/0.6967, allocations: 209.7 kB / 1.073 GB, free: 86.64 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004244/0.6971, allocations: 389.6 kB / 1.073 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of SimCode: time 1.132e-06/0.6971, allocations: 0 / 1.073 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05538/0.7525, allocations: 32.5 MB / 1.105 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.7527, allocations: 270.1 kB / 1.105 GB, free: 74.93 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.724/3.477, allocations: 0 / 1.105 GB, free: 74.93 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)