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.437/1.437, allocations: 288.4 MB / 303.6 MB, free: 8.023 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.0008643/0.0008644, allocations: 184.5 kB / 372.2 MB, free: 10.15 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.19/1.19, allocations: 205.4 MB / 0.631 GB, free: 9.93 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.0007387/0.0007387, allocations: 99.17 kB / 0.7444 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003589, allocations: 17.16 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1683, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.02994/0.1983, allocations: 38.68 MB / 1.018 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0117/0.21, allocations: 8.247 MB / 1.026 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.2118, allocations: 35.75 kB / 1.026 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001744/0.2135, allocations: 405.5 kB / 1.026 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00335/0.2169, allocations: 1.038 MB / 1.027 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.2195, allocations: 0.8687 MB / 1.028 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003324/0.2228, allocations: 2.914 MB / 1.031 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.2242, allocations: 0.7456 MB / 1.032 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/0.2259, allocations: 0.8244 MB / 1.033 GB, free: 5.352 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.227, allocations: 0.6494 MB / 1.033 GB, free: 4.699 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.2271, allocations: 40 kB / 1.033 GB, free: 4.66 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/0.229, allocations: 1.01 MB / 1.034 GB, free: 3.648 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.2293, allocations: 235.1 kB / 1.035 GB, free: 3.418 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0005772/0.2299, allocations: 0.5499 MB / 1.035 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.2315, allocations: 1.788 MB / 1.037 GB, free: 1.066 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2315, allocations: 0 / 1.037 GB, free: 1.066 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2315, allocations: 0 / 1.037 GB, free: 1.066 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.2315, allocations: 0 / 1.037 GB, free: 1.066 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.002054/0.2336, allocations: 1.515 MB / 1.038 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.2336, allocations: 12.03 kB / 1.038 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.2338, allocations: 106.7 kB / 1.038 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.234, allocations: 131.4 kB / 1.039 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.2354, allocations: 1.069 MB / 1.04 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.2354, allocations: 53.25 kB / 1.04 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.29e-05/0.2355, allocations: 64 kB / 1.04 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.2368, allocations: 0.8058 MB / 1.041 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.2369, allocations: 4 kB / 1.041 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-05/0.2369, allocations: 24 kB / 1.041 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.2369, allocations: 16 kB / 1.041 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000986/0.2379, allocations: 0.6219 MB / 1.041 GB, free: 12.48 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.003521/0.2415, allocations: 3.216 MB / 1.044 GB, free: 9.09 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007369/0.2422, allocations: 465 kB / 1.045 GB, free: 8.629 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.2427, allocations: 331.5 kB / 1.045 GB, free: 8.305 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007379/0.2434, allocations: 0.7792 MB / 1.046 GB, free: 7.359 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.2435, allocations: 42.56 kB / 1.046 GB, free: 7.309 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=38): time 1.743e-06/0.2435, allocations: 3.938 kB / 1.046 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of matching and sorting (n=38): time 0.001459/0.2449, allocations: 1.009 MB / 1.047 GB, free: 6.27 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.245, allocations: 140.5 kB / 1.047 GB, free: 6.102 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.2462, allocations: 1.067 MB / 1.048 GB, free: 5.016 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.2463, allocations: 37.7 kB / 1.048 GB, free: 4.973 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/0.2466, allocations: 460.6 kB / 1.049 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.2467, allocations: 134 kB / 1.049 GB, free: 4.387 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.2468, allocations: 12 kB / 1.049 GB, free: 4.375 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2469, allocations: 329.9 kB / 1.049 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.2474, allocations: 348.8 kB / 1.049 GB, free: 3.707 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/0.2479, allocations: 454.8 kB / 1.05 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.249, allocations: 0.9717 MB / 1.051 GB, free: 2.18 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.249, allocations: 4 kB / 1.051 GB, free: 2.176 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001347/0.2504, allocations: 1.108 MB / 1.052 GB, free: 1.023 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001678/0.2505, allocations: 321.1 kB / 1.052 GB, free: 0.6445 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2506, allocations: 0 / 1.052 GB, free: 0.6445 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2506, allocations: 4 kB / 1.052 GB, free: 0.6406 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.2509, allocations: 95.89 kB / 1.052 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.2509, allocations: 11.92 kB / 1.052 GB, free: 0.5352 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005739/0.2515, allocations: 109.2 kB / 1.052 GB, free: 440 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.275e-05/0.2516, allocations: 24 kB / 1.052 GB, free: 416 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.551e-06/0.2516, allocations: 4 kB / 1.052 GB, free: 412 kB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001458/0.253, allocations: 1.105 MB / 1.053 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.2531, allocations: 0 / 1.053 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-06/0.2531, allocations: 4 kB / 1.053 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.2534, allocations: 95.83 kB / 1.053 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2534, allocations: 4 kB / 1.053 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005431/0.254, allocations: 107.5 kB / 1.054 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.254, allocations: 24 kB / 1.054 GB, free: 15.04 MB / 0.6823 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.0005128/0.2545, allocations: 478 kB / 1.054 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.2547, allocations: 106.7 kB / 1.054 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.2561, allocations: 0.9211 MB / 1.055 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.2561, allocations: 4 kB / 1.055 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2561, allocations: 64 / 1.055 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001146/0.2573, allocations: 0.9951 MB / 1.056 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/0.2601, allocations: 2.136 MB / 1.058 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2601, allocations: 4 kB / 1.058 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.2604, allocations: 63.91 kB / 1.058 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.2604, allocations: 7.938 kB / 1.058 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.2604, allocations: 19.94 kB / 1.058 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.2604, allocations: 8.266 kB / 1.058 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2604, allocations: 4 kB / 1.058 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.2621, allocations: 1.404 MB / 1.06 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.2625, allocations: 303.5 kB / 1.06 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.2626, allocations: 19.98 kB / 1.06 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000482/0.2631, allocations: 52.02 kB / 1.06 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.2632, allocations: 55.81 kB / 1.06 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/0.2633, allocations: 23.98 kB / 1.06 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009122/0.2642, allocations: 0.7611 MB / 1.061 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2642, allocations: 0 / 1.061 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001152/0.2653, allocations: 0.5148 MB / 1.061 GB, free: 6.828 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.09208/0.3574, allocations: 2.241 MB / 1.063 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002612/0.3601, allocations: 1.946 MB / 1.065 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.3601, allocations: 0.875 kB / 1.065 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006738/0.3608, allocations: 0.5532 MB / 1.066 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/0.3635, allocations: 0.52 MB / 1.066 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3101/0.6736, allocations: 7.236 MB / 1.073 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006311/0.6743, allocations: 1.072 MB / 1.075 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008164/0.6751, allocations: 212.4 kB / 1.075 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.6756, allocations: 389.4 kB / 1.075 GB, free: 86.41 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/0.6756, allocations: 0 / 1.075 GB, free: 86.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7811/1.457, allocations: 33.61 MB / 1.108 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/1.457, allocations: 258.1 kB / 1.108 GB, free: 74.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.907/4.364, allocations: 0 / 1.108 GB, free: 74.3 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)