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.41/1.41, allocations: 251.9 MB / 266.9 MB, free: 11.08 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.001149/0.001149, allocations: 180.9 kB / 326.5 MB, free: 2.262 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.631/1.631, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008362/0.0008364, allocations: 95.95 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003062, allocations: 7.781 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1947, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.02816/0.2229, allocations: 35.27 MB / 0.9346 GB, free: 28.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009128/0.2321, allocations: 7.653 MB / 0.9421 GB, free: 20.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.2334, allocations: 31.75 kB / 0.9421 GB, free: 20.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.2349, allocations: 0.4975 MB / 0.9426 GB, free: 20.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003193/0.2381, allocations: 1.163 MB / 0.9437 GB, free: 19.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.2412, allocations: 1.123 MB / 0.9448 GB, free: 18.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002294/0.2435, allocations: 1.492 MB / 0.9463 GB, free: 16.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007989/0.2443, allocations: 0.6339 MB / 0.9469 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.2454, allocations: 0.7278 MB / 0.9476 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004437/0.2459, allocations: 489.7 kB / 0.9481 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.282e-05/0.246, allocations: 40 kB / 0.9481 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.2474, allocations: 0.7255 MB / 0.9488 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.2475, allocations: 223.1 kB / 0.949 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.2477, allocations: 257.1 kB / 0.9493 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.249, allocations: 1.656 MB / 0.9509 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2491, allocations: 0 / 0.9509 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2491, allocations: 3.938 kB / 0.9509 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.2491, allocations: 0 / 0.9509 GB, free: 11.77 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.001956/0.251, allocations: 1.503 MB / 0.9524 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.2511, allocations: 8.031 kB / 0.9524 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.2512, allocations: 110.5 kB / 0.9525 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.2514, allocations: 134.5 kB / 0.9526 GB, free: 9.914 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.253, allocations: 1.116 MB / 0.9537 GB, free: 8.754 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.2531, allocations: 61.25 kB / 0.9538 GB, free: 8.691 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-05/0.2532, allocations: 67.98 kB / 0.9538 GB, free: 8.625 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.2543, allocations: 0.7941 MB / 0.9546 GB, free: 7.809 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.2543, allocations: 0 / 0.9546 GB, free: 7.809 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.717e-05/0.2544, allocations: 28 kB / 0.9546 GB, free: 7.781 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.2544, allocations: 16 kB / 0.9547 GB, free: 7.766 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000885/0.2553, allocations: 0.6257 MB / 0.9553 GB, free: 7.141 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.003102/0.2584, allocations: 3.123 MB / 0.9583 GB, free: 3.852 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/0.2591, allocations: 456.8 kB / 0.9587 GB, free: 3.398 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006835/0.2598, allocations: 0.7908 MB / 0.9595 GB, free: 2.441 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.2598, allocations: 38.52 kB / 0.9596 GB, free: 2.395 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=38): time 1.974e-06/0.2598, allocations: 0 / 0.9596 GB, free: 2.395 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38): time 0.001418/0.2612, allocations: 1.24 MB / 0.9608 GB, free: 1.074 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.2613, allocations: 148.4 kB / 0.9609 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.2624, allocations: 0.9928 MB / 0.9619 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.2624, allocations: 41.7 kB / 0.9619 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004027/0.2628, allocations: 468.4 kB / 0.9624 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.263, allocations: 134 kB / 0.9625 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.263, allocations: 12 kB / 0.9625 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2631, allocations: 322 kB / 0.9628 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005094/0.2637, allocations: 332.8 kB / 0.9631 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005904/0.2643, allocations: 439.6 kB / 0.9635 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006318/0.2649, allocations: 0.5157 MB / 0.9641 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.2649, allocations: 0 / 0.9641 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001457/0.2664, allocations: 1.076 MB / 0.9651 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004327/0.2669, allocations: 0.9626 MB / 0.966 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.2669, allocations: 8 kB / 0.966 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.2669, allocations: 4 kB / 0.9661 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/0.2673, allocations: 91.88 kB / 0.9661 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.2673, allocations: 4 kB / 0.9661 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006728/0.268, allocations: 107.3 kB / 0.9662 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.469e-05/0.268, allocations: 31.95 kB / 0.9663 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.2681, allocations: 4 kB / 0.9663 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001485/0.2695, allocations: 1.078 MB / 0.9673 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2696, allocations: 4 kB / 0.9673 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-06/0.2696, allocations: 4 kB / 0.9673 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.2699, allocations: 96.14 kB / 0.9674 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2699, allocations: 4 kB / 0.9674 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005843/0.2705, allocations: 107.3 kB / 0.9675 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/0.2706, allocations: 27.98 kB / 0.9676 GB, free: 9.793 MB / 0.6198 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.0006069/0.2712, allocations: 478 kB / 0.968 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.2713, allocations: 106.6 kB / 0.9681 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.2728, allocations: 0.93 MB / 0.969 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.2728, allocations: 8 kB / 0.969 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2728, allocations: 0 / 0.969 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001198/0.274, allocations: 0.9832 MB / 0.97 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.277, allocations: 2.07 MB / 0.972 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.277, allocations: 0 / 0.972 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.2773, allocations: 72.19 kB / 0.9721 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.2774, allocations: 4 kB / 0.9721 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/0.2774, allocations: 15.98 kB / 0.9721 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.2774, allocations: 7.938 kB / 0.9721 GB, free: 4.867 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.2774, allocations: 4 kB / 0.9721 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.2793, allocations: 1.535 MB / 0.9736 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004229/0.2798, allocations: 287.5 kB / 0.9739 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.2799, allocations: 16 kB / 0.9739 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/0.2804, allocations: 61.91 kB / 0.974 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.2806, allocations: 39.95 kB / 0.974 GB, free: 2.809 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-05/0.2806, allocations: 23.98 kB / 0.974 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001008/0.2816, allocations: 0.7141 MB / 0.9747 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2817, allocations: 4 kB / 0.9747 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001456/0.2831, allocations: 0.5147 MB / 0.9752 GB, free: 1.543 MB / 0.6198 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.003215/0.2863, allocations: 2.965 MB / 0.9781 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00225/0.2886, allocations: 1.911 MB / 0.98 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2886, allocations: 0 / 0.98 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007062/0.2893, allocations: 0.5448 MB / 0.9805 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/0.2916, allocations: 0.5021 MB / 0.981 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/0.2959, allocations: 4.117 MB / 0.985 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/0.2966, allocations: 1.095 MB / 0.9861 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007804/0.2974, allocations: 209.8 kB / 0.9863 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/0.2979, allocations: 392.6 kB / 0.9867 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of SimCode: time 9.82e-07/0.2979, allocations: 0 / 0.9867 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05699/0.3549, allocations: 31.53 MB / 1.017 GB, free: 6.301 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/0.3551, allocations: 255.5 kB / 1.018 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.892/3.247, allocations: 0 / 1.018 GB, free: 5.969 MB / 0.6667 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)