Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008821/0.0008822, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005417/0.005417, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.244/1.244, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.524/1.524, allocations: 292.7 MB / 0.5502 GB, free: 14.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000487/0.000487, allocations: 18.8 kB / 0.6744 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1846, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03622/0.2209, allocations: 40.87 MB / 0.8279 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01043/0.2313, allocations: 8.827 MB / 0.8365 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006323/0.232, allocations: 35.75 kB / 0.8366 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.2331, allocations: 485.4 kB / 0.837 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.2351, allocations: 1.16 MB / 0.8382 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.2372, allocations: 1.057 MB / 0.8392 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002797/0.24, allocations: 3.351 MB / 0.8425 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008612/0.2409, allocations: 0.7378 MB / 0.8432 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.242, allocations: 0.8398 MB / 0.844 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006862/0.2427, allocations: 0.6881 MB / 0.8447 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.512e-05/0.2428, allocations: 44 kB / 0.8447 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.2443, allocations: 1.064 MB / 0.8458 GB, free: 112 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.2446, allocations: 247 kB / 0.846 GB, free: 15.87 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004567/0.245, allocations: 0.5651 MB / 0.8466 GB, free: 15.29 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.247, allocations: 2.231 MB / 0.8487 GB, free: 13.05 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.247, allocations: 0 / 0.8487 GB, free: 13.05 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.202e-06/0.247, allocations: 0 / 0.8487 GB, free: 13.05 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.2471, allocations: 0 / 0.8487 GB, free: 13.05 MB / 0.67 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.001958/0.249, allocations: 1.522 MB / 0.8502 GB, free: 11.44 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2491, allocations: 12.03 kB / 0.8502 GB, free: 11.43 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.2492, allocations: 110.7 kB / 0.8503 GB, free: 11.31 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002274/0.2494, allocations: 131.4 kB / 0.8505 GB, free: 11.18 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.2508, allocations: 1.057 MB / 0.8515 GB, free: 10.08 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/0.2509, allocations: 53.31 kB / 0.8515 GB, free: 10.02 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.251, allocations: 68 kB / 0.8516 GB, free: 9.957 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.2522, allocations: 0.8136 MB / 0.8524 GB, free: 9.121 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.2522, allocations: 0 / 0.8524 GB, free: 9.121 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/0.2523, allocations: 28 kB / 0.8524 GB, free: 9.094 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.2523, allocations: 19.94 kB / 0.8525 GB, free: 9.074 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.2533, allocations: 0.6219 MB / 0.8531 GB, free: 8.449 MB / 0.67 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.00345/0.2568, allocations: 3.228 MB / 0.8562 GB, free: 5.055 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007073/0.2575, allocations: 458 kB / 0.8567 GB, free: 4.602 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/0.2579, allocations: 320.6 kB / 0.857 GB, free: 4.285 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007344/0.2587, allocations: 0.7831 MB / 0.8577 GB, free: 3.336 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.2587, allocations: 34.56 kB / 0.8578 GB, free: 3.293 MB / 0.67 GB Notification: Performance of pre-optimization done (n=38): time 1.473e-06/0.2587, allocations: 0 / 0.8578 GB, free: 3.293 MB / 0.67 GB Notification: Performance of matching and sorting (n=38): time 0.001461/0.2602, allocations: 1.017 MB / 0.8587 GB, free: 2.25 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.2603, allocations: 140.5 kB / 0.8589 GB, free: 2.082 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.2615, allocations: 1.071 MB / 0.8599 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/0.2616, allocations: 33.7 kB / 0.86 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000336/0.2619, allocations: 468.6 kB / 0.8604 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.625e-05/0.262, allocations: 130 kB / 0.8605 GB, free: 372 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.191e-05/0.2621, allocations: 53.69 kB / 0.8606 GB, free: 312 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2622, allocations: 333.8 kB / 0.8609 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004806/0.2627, allocations: 356.8 kB / 0.8612 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005474/0.2633, allocations: 458.8 kB / 0.8617 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.2643, allocations: 0.9796 MB / 0.8626 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.2643, allocations: 0 / 0.8626 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001355/0.2657, allocations: 1.112 MB / 0.8637 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001583/0.2659, allocations: 327.4 kB / 0.864 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2659, allocations: 0 / 0.864 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2659, allocations: 4 kB / 0.864 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.2662, allocations: 91.89 kB / 0.8641 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.2663, allocations: 7.938 kB / 0.8641 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005654/0.2668, allocations: 107.3 kB / 0.8642 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/0.2669, allocations: 27.98 kB / 0.8643 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.248e-06/0.2669, allocations: 0 / 0.8643 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001346/0.2682, allocations: 1.117 MB / 0.8654 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.2683, allocations: 0 / 0.8654 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.618e-06/0.2683, allocations: 4 kB / 0.8654 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.2686, allocations: 88.11 kB / 0.8654 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2686, allocations: 11.94 kB / 0.8654 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005243/0.2691, allocations: 107.3 kB / 0.8656 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.2692, allocations: 28.05 kB / 0.8656 GB, free: 10.93 MB / 0.6856 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.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004105/0.2696, allocations: 478 kB / 0.866 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.2697, allocations: 106.6 kB / 0.8661 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.271, allocations: 0.9214 MB / 0.867 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.2711, allocations: 11.98 kB / 0.867 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.2711, allocations: 0 / 0.867 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001063/0.2721, allocations: 0.9834 MB / 0.868 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.2748, allocations: 2.138 MB / 0.8701 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.2748, allocations: 4 kB / 0.8701 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.2751, allocations: 63.89 kB / 0.8702 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.2751, allocations: 8.219 kB / 0.8702 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.2752, allocations: 24 kB / 0.8702 GB, free: 5.941 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2752, allocations: 7.938 kB / 0.8702 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2752, allocations: 3.984 kB / 0.8702 GB, free: 5.93 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.2769, allocations: 1.418 MB / 0.8716 GB, free: 4.449 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003254/0.2772, allocations: 299.5 kB / 0.8719 GB, free: 4.137 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.2773, allocations: 16 kB / 0.8719 GB, free: 4.121 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004922/0.2778, allocations: 56 kB / 0.8719 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.278, allocations: 51.89 kB / 0.872 GB, free: 4.016 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/0.278, allocations: 23.98 kB / 0.872 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008878/0.2789, allocations: 0.7689 MB / 0.8728 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2789, allocations: 4 kB / 0.8728 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001113/0.28, allocations: 0.5187 MB / 0.8733 GB, free: 2.691 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002502/0.2825, allocations: 2.233 MB / 0.8755 GB, free: 408 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002017/0.2846, allocations: 1.962 MB / 0.8774 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2846, allocations: 4.062 kB / 0.8774 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005956/0.2852, allocations: 0.5486 MB / 0.8779 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/0.2876, allocations: 0.5274 MB / 0.8784 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.301, allocations: 9.61 MB / 0.8878 GB, free: 3.188 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.3016, allocations: 1.068 MB / 0.8889 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006407/0.3022, allocations: 204.3 kB / 0.889 GB, free: 1.898 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004467/0.3027, allocations: 391.3 kB / 0.8894 GB, free: 1.516 MB / 0.7012 GB Notification: Performance of SimCode: time 3.7e-07/0.3027, allocations: 4 kB / 0.8894 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.168/2.47, allocations: 31.76 MB / 0.9204 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003194/2.471, allocations: 264.4 kB / 0.9207 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/4.944, allocations: 5.688 kB / 0.9207 GB, free: 1.918 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)