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.401/1.401, allocations: 252 MB / 267 MB, free: 10.96 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.001017/0.001017, allocations: 187.4 kB / 326.6 MB, free: 2.207 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.558/1.558, allocations: 205.4 MB / 0.5777 GB, free: 20.26 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.0007074/0.0007073, allocations: 90 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003553, allocations: 11.28 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2088, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03008/0.2389, allocations: 38.68 MB / 0.9381 GB, free: 25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00944/0.2484, allocations: 8.228 MB / 0.9461 GB, free: 16.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.2498, allocations: 31.81 kB / 0.9462 GB, free: 16.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.2513, allocations: 409.5 kB / 0.9465 GB, free: 16.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003265/0.2546, allocations: 0.9792 MB / 0.9475 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.2573, allocations: 0.8272 MB / 0.9483 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003203/0.2606, allocations: 2.882 MB / 0.9511 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.2618, allocations: 0.6338 MB / 0.9517 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.2635, allocations: 0.7932 MB / 0.9525 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.2646, allocations: 0.6532 MB / 0.9532 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002337/0.2649, allocations: 44 kB / 0.9532 GB, free: 9.484 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.267, allocations: 0.8616 MB / 0.954 GB, free: 8.621 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.2673, allocations: 239.1 kB / 0.9543 GB, free: 8.387 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004429/0.2677, allocations: 257.1 kB / 0.9545 GB, free: 8.129 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002033/0.2698, allocations: 1.742 MB / 0.9562 GB, free: 6.383 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2698, allocations: 0 / 0.9562 GB, free: 6.383 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2698, allocations: 0 / 0.9562 GB, free: 6.383 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.331e-05/0.2699, allocations: 0 / 0.9562 GB, free: 6.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.002684/0.2726, allocations: 1.526 MB / 0.9577 GB, free: 4.762 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2726, allocations: 8.031 kB / 0.9577 GB, free: 4.754 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002011/0.2728, allocations: 114.5 kB / 0.9578 GB, free: 4.633 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003742/0.2732, allocations: 134.5 kB / 0.958 GB, free: 4.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.275, allocations: 1.019 MB / 0.9589 GB, free: 3.438 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/0.2751, allocations: 53.3 kB / 0.959 GB, free: 3.383 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.2752, allocations: 72 kB / 0.9591 GB, free: 3.312 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.2765, allocations: 0.8058 MB / 0.9599 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.2765, allocations: 7.938 kB / 0.9599 GB, free: 2.477 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.86e-05/0.2766, allocations: 28 kB / 0.9599 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.2766, allocations: 16 kB / 0.9599 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.2776, allocations: 0.6219 MB / 0.9605 GB, free: 1.812 MB / 0.6042 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.004112/0.2818, allocations: 3.209 MB / 0.9636 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008546/0.2826, allocations: 463.5 kB / 0.9641 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004875/0.2831, allocations: 316.7 kB / 0.9644 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008548/0.284, allocations: 0.7831 MB / 0.9652 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.2841, allocations: 42.52 kB / 0.9652 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=38): time 2.505e-06/0.2841, allocations: 0 / 0.9652 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=38): time 0.001697/0.2858, allocations: 1.014 MB / 0.9662 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.285e-05/0.2859, allocations: 136.5 kB / 0.9663 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.2874, allocations: 1.067 MB / 0.9674 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.744e-05/0.2875, allocations: 37.7 kB / 0.9674 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/0.2879, allocations: 456.6 kB / 0.9678 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.288, allocations: 134.1 kB / 0.968 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.2881, allocations: 12 kB / 0.968 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2882, allocations: 326 kB / 0.9683 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005382/0.2887, allocations: 348.8 kB / 0.9686 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006247/0.2894, allocations: 462.6 kB / 0.9691 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/0.2901, allocations: 0.543 MB / 0.9696 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2901, allocations: 0 / 0.9696 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001621/0.2917, allocations: 1.108 MB / 0.9707 GB, free: 6.859 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002135/0.292, allocations: 319.3 kB / 0.971 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.292, allocations: 4 kB / 0.971 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.292, allocations: 4 kB / 0.971 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.2924, allocations: 87.89 kB / 0.9711 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.2924, allocations: 7.938 kB / 0.9711 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008394/0.2933, allocations: 115.2 kB / 0.9712 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.571e-05/0.2934, allocations: 31.98 kB / 0.9712 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.2934, allocations: 4 kB / 0.9712 GB, free: 6.234 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0016/0.295, allocations: 1.101 MB / 0.9723 GB, free: 5.094 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.295, allocations: 8.031 kB / 0.9723 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.295, allocations: 7.938 kB / 0.9723 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.2954, allocations: 87.89 kB / 0.9724 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2954, allocations: 4 kB / 0.9724 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007288/0.2962, allocations: 107.4 kB / 0.9725 GB, free: 4.883 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.628e-05/0.2962, allocations: 23.98 kB / 0.9725 GB, free: 4.859 MB / 0.6198 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.0006531/0.2969, allocations: 474 kB / 0.973 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.2971, allocations: 106.7 kB / 0.9731 GB, free: 4.262 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.2987, allocations: 0.9332 MB / 0.974 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.2987, allocations: 7.984 kB / 0.974 GB, free: 3.297 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2987, allocations: 0 / 0.974 GB, free: 3.297 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001115/0.2998, allocations: 0.9837 MB / 0.9749 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003395/0.3032, allocations: 2.125 MB / 0.977 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.3033, allocations: 4 kB / 0.977 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.3036, allocations: 67.91 kB / 0.9771 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.148e-06/0.3036, allocations: 4 kB / 0.9771 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.3036, allocations: 15.98 kB / 0.9771 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.433e-06/0.3037, allocations: 4 kB / 0.9771 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.3037, allocations: 7.938 kB / 0.9771 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.3057, allocations: 1.404 MB / 0.9785 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005452/0.3062, allocations: 303.5 kB / 0.9788 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/0.3064, allocations: 16 kB / 0.9788 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000632/0.3071, allocations: 61.83 kB / 0.9789 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.3072, allocations: 47.95 kB / 0.9789 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.789e-05/0.3073, allocations: 23.98 kB / 0.9789 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001252/0.3086, allocations: 0.7611 MB / 0.9797 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3086, allocations: 0 / 0.9797 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001676/0.3102, allocations: 0.5109 MB / 0.9802 GB, free: 12.67 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 (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.003552/0.3138, allocations: 2.237 MB / 0.9824 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002885/0.3167, allocations: 1.951 MB / 0.9843 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/0.3167, allocations: 0 / 0.9843 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007961/0.3176, allocations: 0.5415 MB / 0.9848 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/0.3209, allocations: 0.52 MB / 0.9853 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/0.3358, allocations: 7.243 MB / 0.9924 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008794/0.3367, allocations: 1.072 MB / 0.9934 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009948/0.3377, allocations: 210.5 kB / 0.9936 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006274/0.3384, allocations: 387.2 kB / 0.994 GB, free: 14 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/0.3384, allocations: 0 / 0.994 GB, free: 14 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06175/0.4002, allocations: 32.44 MB / 1.026 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/0.4004, allocations: 274.2 kB / 1.026 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/3.27, allocations: 0 / 1.026 GB, free: 13.62 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)