Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.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: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.588/1.588, allocations: 288.3 MB / 303.2 MB, free: 8.156 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.001497/0.001497, allocations: 185.1 kB / 371.8 MB, free: 10.26 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.32/1.32, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0009561/0.0009561, allocations: 101.4 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000558/0.000558, allocations: 12.38 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2413, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.01798/0.2593, allocations: 24.9 MB / 1.004 GB, free: 2.754 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01464/0.274, allocations: 11.13 MB / 1.015 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.2754, allocations: 35.75 kB / 1.015 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.2772, allocations: 0.5754 MB / 1.015 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003493/0.2807, allocations: 1.334 MB / 1.016 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006438/0.2872, allocations: 2.26 MB / 1.019 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003419/0.2906, allocations: 2.205 MB / 1.021 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.2919, allocations: 1.004 MB / 1.022 GB, free: 188 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.2936, allocations: 1 MB / 1.023 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008055/0.2944, allocations: 0.6961 MB / 1.023 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.2946, allocations: 55.98 kB / 1.024 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.296, allocations: 0.7256 MB / 1.024 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.2963, allocations: 298.9 kB / 1.025 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002945/0.2966, allocations: 316.9 kB / 1.025 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.2984, allocations: 1.746 MB / 1.027 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2984, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2984, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.2985, allocations: 0 / 1.027 GB, free: 11.34 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002949/0.3014, allocations: 1.682 MB / 1.028 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.3014, allocations: 8.031 kB / 1.028 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.3025, allocations: 261.8 kB / 1.028 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/0.3047, allocations: 1.261 MB / 1.03 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.909e-05/0.3048, allocations: 62 kB / 1.03 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.3049, allocations: 84 kB / 1.03 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.3066, allocations: 1.011 MB / 1.031 GB, free: 6.812 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.3066, allocations: 0 / 1.031 GB, free: 6.812 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.939e-05/0.3067, allocations: 36 kB / 1.031 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.3067, allocations: 23.98 kB / 1.031 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.3083, allocations: 0.7727 MB / 1.032 GB, free: 5.977 MB / 0.6511 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.006095/0.3144, allocations: 4.999 MB / 1.036 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.3158, allocations: 0.6367 MB / 1.037 GB, free: 12 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002908/0.3188, allocations: 1.886 MB / 1.039 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007845/0.3196, allocations: 363 kB / 1.039 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004489/0.32, allocations: 99.41 kB / 1.039 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=44): time 3.036e-06/0.3201, allocations: 4 kB / 1.039 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of matching and sorting (n=44): time 0.003908/0.324, allocations: 1.356 MB / 1.041 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.324, allocations: 59.39 kB / 1.041 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.3258, allocations: 1.332 MB / 1.042 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.14e-05/0.3259, allocations: 37.7 kB / 1.042 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005314/0.3265, allocations: 0.6333 MB / 1.043 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.3266, allocations: 157.8 kB / 1.043 GB, free: 9.863 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.3267, allocations: 20 kB / 1.043 GB, free: 9.844 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3268, allocations: 329.9 kB / 1.043 GB, free: 9.516 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000635/0.3274, allocations: 261.8 kB / 1.043 GB, free: 9.262 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008713/0.3283, allocations: 0.613 MB / 1.044 GB, free: 8.488 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007474/0.3291, allocations: 370.2 kB / 1.044 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.3291, allocations: 4 kB / 1.044 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002594/0.3317, allocations: 1.133 MB / 1.046 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001212/0.3329, allocations: 3.131 MB / 1.049 GB, free: 3.637 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.3329, allocations: 12 kB / 1.049 GB, free: 3.625 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008306/0.3338, allocations: 224.6 kB / 1.049 GB, free: 3.402 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006005/0.3344, allocations: 147.8 kB / 1.049 GB, free: 3.258 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009345/0.3353, allocations: 0.8759 MB / 1.05 GB, free: 2.355 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.3365, allocations: 94.05 kB / 1.05 GB, free: 2.266 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.711e-05/0.3366, allocations: 39.98 kB / 1.05 GB, free: 2.227 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.3366, allocations: 8 kB / 1.05 GB, free: 2.219 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001642/0.3382, allocations: 0.8596 MB / 1.051 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.3383, allocations: 8 kB / 1.051 GB, free: 1.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003536/0.3386, allocations: 141.2 kB / 1.051 GB, free: 1.199 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.3391, allocations: 139.8 kB / 1.051 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/0.3417, allocations: 2.384 MB / 1.053 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009556/0.3427, allocations: 80.59 kB / 1.053 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/0.3427, allocations: 39.98 kB / 1.054 GB, free: 14.41 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007126/0.3435, allocations: 476.7 kB / 1.054 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.3436, allocations: 126.4 kB / 1.054 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.3457, allocations: 0.9469 MB / 1.055 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.3457, allocations: 4 kB / 1.055 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.3457, allocations: 4 kB / 1.055 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001583/0.3473, allocations: 0.935 MB / 1.056 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003452/0.3508, allocations: 1.951 MB / 1.058 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.3508, allocations: 8 kB / 1.058 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/0.3513, allocations: 91.92 kB / 1.058 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003171/0.3516, allocations: 152.5 kB / 1.058 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-05/0.3517, allocations: 19.98 kB / 1.058 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007113/0.3524, allocations: 0.8175 MB / 1.059 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3524, allocations: 0 / 1.059 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/0.3548, allocations: 1.299 MB / 1.06 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005787/0.3554, allocations: 295.2 kB / 1.06 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.3556, allocations: 12 kB / 1.06 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007468/0.3563, allocations: 87.89 kB / 1.061 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.443e-05/0.3564, allocations: 44.33 kB / 1.061 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/0.3565, allocations: 19.98 kB / 1.061 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00131/0.3578, allocations: 0.9167 MB / 1.061 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3578, allocations: 3.938 kB / 1.062 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002024/0.3599, allocations: 0.6785 MB / 1.062 GB, free: 5.273 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008349/0.3607, allocations: 373.6 kB / 1.063 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003037/0.3637, allocations: 1.405 MB / 1.064 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3638, allocations: 7.938 kB / 1.064 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009207/0.3647, allocations: 347.5 kB / 1.064 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002757/0.3675, allocations: 0.5758 MB / 1.065 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3598/0.7273, allocations: 2.703 MB / 1.067 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.7285, allocations: 1.298 MB / 1.069 GB, free: 86.19 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001704/0.7302, allocations: 307 kB / 1.069 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.7305, allocations: 105.4 kB / 1.069 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of SimCode: time 1.092e-06/0.7305, allocations: 0 / 1.069 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of Templates: time 0.04823/0.7787, allocations: 25.45 MB / 1.094 GB, free: 78.97 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)