Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.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: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.405/1.405, allocations: 252 MB / 267.6 MB, free: 10.93 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.001092/0.001092, allocations: 183.3 kB / 327.3 MB, free: 2.203 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.944/1.944, allocations: 205.4 MB / 0.5783 GB, free: 20.22 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.0009823/0.0009825, allocations: 100.1 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004538/0.0004539, allocations: 9.031 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2799, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.06823/0.3481, allocations: 66.84 MB / 0.9661 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03526/0.3835, allocations: 18.89 MB / 0.9845 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003606/0.3871, allocations: 79.44 kB / 0.9846 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002619/0.3898, allocations: 0.6676 MB / 0.9853 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005987/0.3958, allocations: 1.929 MB / 0.9871 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004852/0.4006, allocations: 1.568 MB / 0.9887 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0105/0.4111, allocations: 9.031 MB / 0.9975 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008124/0.4193, allocations: 5.318 MB / 1.003 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006681/0.426, allocations: 2.676 MB / 1.005 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005029/0.4311, allocations: 2.303 MB / 1.008 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001155/0.4322, allocations: 128 kB / 1.008 GB, free: 2.156 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004126/0.4364, allocations: 1.018 MB / 1.009 GB, free: 1.137 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001502/0.4379, allocations: 0.6027 MB / 1.009 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002235/0.4402, allocations: 0.6446 MB / 1.01 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.005821/0.446, allocations: 3.483 MB / 1.013 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.446, allocations: 0 / 1.013 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.754e-06/0.446, allocations: 0 / 1.013 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002127/0.4463, allocations: 4 kB / 1.013 GB, free: 12.38 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.009462/0.4557, allocations: 3.851 MB / 1.017 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.4558, allocations: 12.02 kB / 1.017 GB, free: 8.441 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002937/0.4587, allocations: 0.5657 MB / 1.018 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006266/0.465, allocations: 2.458 MB / 1.02 GB, free: 5.352 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.4652, allocations: 143.8 kB / 1.02 GB, free: 5.211 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000615/0.4658, allocations: 191.9 kB / 1.02 GB, free: 5.023 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0054/0.4713, allocations: 2.412 MB / 1.023 GB, free: 2.473 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.163e-05/0.4713, allocations: 7.844 kB / 1.023 GB, free: 2.465 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002657/0.4716, allocations: 72 kB / 1.023 GB, free: 2.395 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.292e-05/0.4717, allocations: 40 kB / 1.023 GB, free: 2.355 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005264/0.4769, allocations: 2.013 MB / 1.025 GB, free: 344 kB / 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.01838/0.4953, allocations: 12.14 MB / 1.037 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003371/0.4987, allocations: 1.553 MB / 1.038 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001893/0.5007, allocations: 1.086 MB / 1.039 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008361/0.5091, allocations: 4.083 MB / 1.043 GB, free: 12.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00172/0.5108, allocations: 0.8911 MB / 1.044 GB, free: 11.67 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002099/0.5129, allocations: 446.6 kB / 1.044 GB, free: 11.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=96): time 8.666e-06/0.513, allocations: 3.984 kB / 1.044 GB, free: 11.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=96): time 0.01634/0.5293, allocations: 5.201 MB / 1.05 GB, free: 5.977 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.5294, allocations: 68.39 kB / 1.05 GB, free: 5.898 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005481/0.5349, allocations: 2.995 MB / 1.053 GB, free: 2.902 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002483/0.5351, allocations: 57.7 kB / 1.053 GB, free: 2.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00149/0.5366, allocations: 1.424 MB / 1.054 GB, free: 1.406 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004448/0.5371, allocations: 343.1 kB / 1.054 GB, free: 1.066 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.5372, allocations: 28 kB / 1.054 GB, free: 1.039 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.5374, allocations: 361.9 kB / 1.055 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4005/0.9379, allocations: 0.6873 MB / 1.055 GB, free: 146.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002239/0.9402, allocations: 1.491 MB / 1.057 GB, free: 145.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.9418, allocations: 0.8998 MB / 1.058 GB, free: 145.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.9418, allocations: 5.344 kB / 1.058 GB, free: 145.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006377/0.9482, allocations: 2.944 MB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000286/0.9485, allocations: 0.5391 MB / 1.061 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.9486, allocations: 15.69 kB / 1.061 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002906/0.9515, allocations: 0.7785 MB / 1.062 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.9528, allocations: 304.3 kB / 1.062 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.955, allocations: 2.168 MB / 1.064 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003033/0.958, allocations: 245 kB / 1.065 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/0.9583, allocations: 81 kB / 1.065 GB, free: 143.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.9583, allocations: 3.656 kB / 1.065 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005036/0.9633, allocations: 2.3 MB / 1.067 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.933e-05/0.9634, allocations: 14.44 kB / 1.067 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001696/0.9651, allocations: 0.5867 MB / 1.067 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.9664, allocations: 283.5 kB / 1.068 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008509/0.9749, allocations: 6.493 MB / 1.074 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003231/0.9782, allocations: 233.3 kB / 1.074 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/0.9784, allocations: 69.39 kB / 1.074 GB, free: 140.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.002742/0.9812, allocations: 0.8303 MB / 1.075 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009376/0.9821, allocations: 292.8 kB / 1.075 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006087/0.9882, allocations: 2.492 MB / 1.078 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/0.9883, allocations: 11.28 kB / 1.078 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.9883, allocations: 3.969 kB / 1.078 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004205/0.9925, allocations: 2.188 MB / 1.08 GB, free: 138.9 MB / 0.698 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 postOpt removeSimpleEquations (simulation): time 0.008716/1.001, allocations: 4.711 MB / 1.085 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.001, allocations: 1.062 kB / 1.085 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008303/1.002, allocations: 166.4 kB / 1.085 GB, free: 136.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/1.003, allocations: 0.5398 MB / 1.085 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.99e-05/1.003, allocations: 28.75 kB / 1.085 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/1.006, allocations: 2.093 MB / 1.087 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.006, allocations: 5.406 kB / 1.087 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005362/1.011, allocations: 3.337 MB / 1.091 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/1.012, allocations: 0.552 MB / 1.091 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002813/1.013, allocations: 19.8 kB / 1.091 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/1.014, allocations: 200.3 kB / 1.091 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/1.014, allocations: 74.81 kB / 1.091 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.214e-05/1.015, allocations: 35.3 kB / 1.092 GB, free: 132.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002579/1.017, allocations: 2.051 MB / 1.094 GB, free: 131.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.017, allocations: 4 kB / 1.094 GB, free: 131.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003593/1.021, allocations: 1.48 MB / 1.095 GB, free: 130.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009141/1.022, allocations: 437.8 kB / 1.095 GB, free: 130.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005213/1.027, allocations: 3.248 MB / 1.099 GB, free: 127.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.027, allocations: 0 / 1.099 GB, free: 127.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/1.028, allocations: 0.8235 MB / 1.099 GB, free: 126.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007428/1.036, allocations: 1.555 MB / 1.101 GB, free: 124.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007765/1.043, allocations: 6.016 MB / 1.107 GB, free: 118.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/1.045, allocations: 2.025 MB / 1.109 GB, free: 116.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006966/1.045, allocations: 215.3 kB / 1.109 GB, free: 116.5 MB / 0.698 GB Notification: Performance of SimCode: time 8.92e-07/1.045, allocations: 0 / 1.109 GB, free: 116.5 MB / 0.698 GB Notification: Performance of Templates: time 0.07865/1.124, allocations: 75.94 MB / 1.183 GB, free: 40.8 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)