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.398/1.398, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.00111/0.00111, allocations: 178.9 kB / 326.5 MB, free: 2.688 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.698/1.698, allocations: 205 MB / 0.5766 GB, free: 21.03 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.000755/0.0007548, allocations: 95.84 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003394, allocations: 12.69 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1829, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.04711/0.2301, allocations: 71.81 MB / 0.9669 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03174/0.2619, allocations: 20.55 MB / 0.9869 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004109/0.266, allocations: 87.38 kB / 0.987 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003518/0.2696, allocations: 0.8511 MB / 0.9878 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007064/0.2767, allocations: 2.172 MB / 0.99 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005428/0.2821, allocations: 1.893 MB / 0.9918 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01098/0.2931, allocations: 10.57 MB / 1.002 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007676/0.3008, allocations: 5.543 MB / 1.008 GB, free: 2.332 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006647/0.3075, allocations: 2.808 MB / 1.01 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004245/0.3118, allocations: 2.438 MB / 1.013 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0009672/0.3128, allocations: 128 kB / 1.013 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003816/0.3166, allocations: 1.244 MB / 1.014 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001037/0.3177, allocations: 0.6298 MB / 1.015 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002649/0.3203, allocations: 1.612 MB / 1.016 GB, free: 9.438 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004076/0.3244, allocations: 3.515 MB / 1.02 GB, free: 5.914 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3245, allocations: 0 / 1.02 GB, free: 5.914 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3245, allocations: 4 kB / 1.02 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.531e-05/0.3246, allocations: 4 kB / 1.02 GB, free: 5.906 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.006744/0.3313, allocations: 3.82 MB / 1.023 GB, free: 2.008 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3314, allocations: 8.031 kB / 1.023 GB, free: 2 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/0.3338, allocations: 0.5777 MB / 1.024 GB, free: 1.418 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004373/0.3382, allocations: 2.569 MB / 1.026 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.3383, allocations: 143.8 kB / 1.027 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002574/0.3386, allocations: 184 kB / 1.027 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003938/0.3425, allocations: 2.42 MB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.893e-05/0.3426, allocations: 7.938 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.3427, allocations: 67.94 kB / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/0.3428, allocations: 40 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00376/0.3465, allocations: 2.033 MB / 1.031 GB, free: 9.75 MB / 0.6823 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.01478/0.3613, allocations: 12.13 MB / 1.043 GB, free: 13.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002856/0.3642, allocations: 1.565 MB / 1.045 GB, free: 11.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.3658, allocations: 1.083 MB / 1.046 GB, free: 10.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006298/0.3721, allocations: 4.099 MB / 1.05 GB, free: 5.973 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001526/0.3737, allocations: 0.8872 MB / 1.051 GB, free: 5.074 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001597/0.3753, allocations: 442.6 kB / 1.051 GB, free: 4.641 MB / 0.698 GB Notification: Performance of pre-optimization done (n=96): time 3.848e-06/0.3753, allocations: 4 kB / 1.051 GB, free: 4.637 MB / 0.698 GB Notification: Performance of matching and sorting (n=96): time 0.3854/0.7607, allocations: 5.278 MB / 1.056 GB, free: 151.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.7608, allocations: 63.16 kB / 1.056 GB, free: 151.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004041/0.7649, allocations: 3.024 MB / 1.059 GB, free: 151.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002524/0.7651, allocations: 64.2 kB / 1.059 GB, free: 151.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.7662, allocations: 1.42 MB / 1.061 GB, free: 151.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003275/0.7666, allocations: 344.4 kB / 1.061 GB, free: 151.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.7668, allocations: 124.6 kB / 1.061 GB, free: 151.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.074e-05/0.7668, allocations: 308.7 kB / 1.061 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.7683, allocations: 0.7632 MB / 1.062 GB, free: 150.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/0.7703, allocations: 1.563 MB / 1.064 GB, free: 149.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003542/0.7739, allocations: 2.068 MB / 1.066 GB, free: 149.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/0.7739, allocations: 6.812 kB / 1.066 GB, free: 149.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.007668/0.7816, allocations: 3.149 MB / 1.069 GB, free: 148.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002526/0.7819, allocations: 0.5412 MB / 1.069 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.7819, allocations: 13.72 kB / 1.069 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003185/0.7851, allocations: 0.8459 MB / 1.07 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.7863, allocations: 303.3 kB / 1.07 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.7886, allocations: 2.176 MB / 1.072 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/0.7913, allocations: 248.6 kB / 1.073 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.7915, allocations: 75.09 kB / 1.073 GB, free: 146.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.7915, allocations: 3.844 kB / 1.073 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004499/0.796, allocations: 2.316 MB / 1.075 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.839e-05/0.7961, allocations: 28.03 kB / 1.075 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.7975, allocations: 0.5852 MB / 1.076 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.7986, allocations: 287.7 kB / 1.076 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006663/0.8053, allocations: 6.497 MB / 1.082 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002615/0.8079, allocations: 229.4 kB / 1.082 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002708/0.8082, allocations: 69.36 kB / 1.083 GB, free: 141.1 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001638/0.8098, allocations: 0.8273 MB / 1.083 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000851/0.8107, allocations: 293.8 kB / 1.084 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005675/0.8164, allocations: 2.498 MB / 1.086 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.8164, allocations: 15.81 kB / 1.086 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.8164, allocations: 1.75 kB / 1.086 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003232/0.8197, allocations: 2.188 MB / 1.088 GB, free: 137.7 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.008898/0.8286, allocations: 4.726 MB / 1.093 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.8286, allocations: 1.094 kB / 1.093 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007341/0.8294, allocations: 155.1 kB / 1.093 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.8305, allocations: 0.5443 MB / 1.094 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.742e-05/0.8305, allocations: 31.67 kB / 1.094 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.8322, allocations: 2.093 MB / 1.096 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.8322, allocations: 4.031 kB / 1.096 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005252/0.8374, allocations: 3.36 MB / 1.099 GB, free: 129.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/0.8387, allocations: 0.5051 MB / 1.099 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006267/0.8393, allocations: 16 kB / 1.099 GB, free: 128.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/0.8414, allocations: 201.8 kB / 1.1 GB, free: 128.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.8416, allocations: 68.89 kB / 1.1 GB, free: 128.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.735e-05/0.8416, allocations: 35.98 kB / 1.1 GB, free: 128.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002919/0.8446, allocations: 2.075 MB / 1.102 GB, free: 126.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8446, allocations: 0 / 1.102 GB, free: 126.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004097/0.8487, allocations: 1.482 MB / 1.103 GB, free: 124.7 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001044/0.8497, allocations: 459.2 kB / 1.104 GB, free: 124.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005186/0.8549, allocations: 3.332 MB / 1.107 GB, free: 121 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.855, allocations: 0 / 1.107 GB, free: 121 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.8563, allocations: 0.8299 MB / 1.108 GB, free: 120.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007007/0.8633, allocations: 1.542 MB / 1.109 GB, free: 118.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008327/0.8716, allocations: 6.148 MB / 1.115 GB, free: 112.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.8728, allocations: 2.025 MB / 1.117 GB, free: 110.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007775/0.8736, allocations: 211.4 kB / 1.117 GB, free: 110.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.132e-06/0.8736, allocations: 0 / 1.117 GB, free: 110.2 MB / 0.698 GB Notification: Performance of Templates: time 0.08356/0.9572, allocations: 75.91 MB / 1.191 GB, free: 34.53 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)