Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.781/1.781, allocations: 287.5 MB / 302.6 MB, free: 8.246 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.001224/0.001224, allocations: 180.3 kB / 371.2 MB, free: 10.83 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.399/1.399, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007096/0.0007094, allocations: 103.1 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003624, allocations: 11.11 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2274, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02191/0.2494, allocations: 30.15 MB / 1.008 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01899/0.2684, allocations: 12.25 MB / 1.02 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.2703, allocations: 43.75 kB / 1.02 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.2722, allocations: 497 kB / 1.021 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004101/0.2763, allocations: 1.28 MB / 1.022 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003133/0.2795, allocations: 1.065 MB / 1.023 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007204/0.2867, allocations: 5.54 MB / 1.028 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00287/0.2896, allocations: 1.714 MB / 1.03 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003588/0.2932, allocations: 1.556 MB / 1.031 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.2956, allocations: 1.295 MB / 1.033 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002337/0.2958, allocations: 68 kB / 1.033 GB, free: 4.566 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.2982, allocations: 0.8854 MB / 1.034 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004771/0.2987, allocations: 386.3 kB / 1.034 GB, free: 3.301 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007057/0.2994, allocations: 396.6 kB / 1.034 GB, free: 2.906 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00278/0.3022, allocations: 2.171 MB / 1.037 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3022, allocations: 0 / 1.037 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3022, allocations: 0 / 1.037 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.403e-05/0.3023, allocations: 3.938 kB / 1.037 GB, free: 0.7266 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003658/0.3059, allocations: 2.073 MB / 1.039 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.306, allocations: 8.031 kB / 1.039 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.3071, allocations: 318.2 kB / 1.039 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00282/0.3099, allocations: 1.636 MB / 1.04 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.222e-05/0.31, allocations: 86 kB / 1.041 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.3102, allocations: 108 kB / 1.041 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.3124, allocations: 1.326 MB / 1.042 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.3125, allocations: 3.984 kB / 1.042 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.3126, allocations: 44 kB / 1.042 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.3126, allocations: 31.88 kB / 1.042 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.3147, allocations: 1.05 MB / 1.043 GB, free: 9.859 MB / 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.008161/0.3229, allocations: 6.991 MB / 1.05 GB, free: 2.371 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.3244, allocations: 0.6746 MB / 1.051 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008249/0.3252, allocations: 427.3 kB / 1.051 GB, free: 1.27 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003036/0.3282, allocations: 1.838 MB / 1.053 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008624/0.3291, allocations: 420.7 kB / 1.053 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000486/0.3296, allocations: 103.4 kB / 1.053 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 1.974e-06/0.3296, allocations: 0 / 1.053 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.00412/0.3338, allocations: 1.54 MB / 1.055 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.3338, allocations: 55.41 kB / 1.055 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002367/0.3362, allocations: 1.85 MB / 1.057 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.196e-05/0.3363, allocations: 37.7 kB / 1.057 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007829/0.3371, allocations: 0.8576 MB / 1.057 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.3372, allocations: 161.7 kB / 1.058 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.3373, allocations: 20 kB / 1.058 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3374, allocations: 338 kB / 1.058 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007118/0.3381, allocations: 321.8 kB / 1.058 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.3392, allocations: 0.7839 MB / 1.059 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.3408, allocations: 1.003 MB / 1.06 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.3409, allocations: 4 kB / 1.06 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002884/0.3438, allocations: 1.343 MB / 1.061 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002914/0.3441, allocations: 423.3 kB / 1.062 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.3441, allocations: 8 kB / 1.062 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000866/0.345, allocations: 226.8 kB / 1.062 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006824/0.3457, allocations: 183.6 kB / 1.062 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008933/0.3466, allocations: 0.841 MB / 1.063 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.3481, allocations: 120.5 kB / 1.063 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.984e-05/0.3482, allocations: 51.98 kB / 1.063 GB, free: 3.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.3482, allocations: 4 kB / 1.063 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001905/0.3501, allocations: 1.032 MB / 1.064 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.3501, allocations: 8 kB / 1.064 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005376/0.3507, allocations: 156.7 kB / 1.064 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007321/0.3514, allocations: 164 kB / 1.064 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/0.3543, allocations: 2.352 MB / 1.067 GB, free: 128 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.3557, allocations: 116.5 kB / 1.067 GB, free: 12 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.4319/0.7876, allocations: 41.89 kB / 1.067 GB, free: 87.02 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001365/0.789, allocations: 0.5795 MB / 1.067 GB, free: 86.83 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004664/0.7895, allocations: 174.7 kB / 1.068 GB, free: 86.83 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002833/0.7923, allocations: 1.072 MB / 1.069 GB, free: 86.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.7923, allocations: 6.125 kB / 1.069 GB, free: 86.76 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7923, allocations: 0.9688 kB / 1.069 GB, free: 86.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001878/0.7942, allocations: 1.028 MB / 1.07 GB, free: 86.33 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 postOpt removeSimpleEquations (simulation): time 0.004712/0.799, allocations: 2.32 MB / 1.072 GB, free: 85.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.799, allocations: 5.375 kB / 1.072 GB, free: 85.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005087/0.7995, allocations: 92.42 kB / 1.072 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003908/0.7999, allocations: 149.7 kB / 1.072 GB, free: 85.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.747e-05/0.8, allocations: 21.23 kB / 1.072 GB, free: 85.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006804/0.8006, allocations: 0.8021 MB / 1.073 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8007, allocations: 1.031 kB / 1.073 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003022/0.8037, allocations: 1.476 MB / 1.074 GB, free: 84.08 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007279/0.8044, allocations: 342.1 kB / 1.075 GB, free: 83.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.8046, allocations: 8.484 kB / 1.075 GB, free: 83.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009552/0.8056, allocations: 103.9 kB / 1.075 GB, free: 83.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.8058, allocations: 45.88 kB / 1.075 GB, free: 83.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.256e-05/0.8058, allocations: 25.77 kB / 1.075 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002267/0.8081, allocations: 1.279 MB / 1.076 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8081, allocations: 2.516 kB / 1.076 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002885/0.811, allocations: 0.8396 MB / 1.077 GB, free: 83.33 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (40): * Single equations (assignments): 34 * 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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009486/0.812, allocations: 361.6 kB / 1.077 GB, free: 83.22 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003643/0.8156, allocations: 1.53 MB / 1.079 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.8156, allocations: 0.7188 kB / 1.079 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008774/0.8165, allocations: 367.2 kB / 1.079 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00425/0.8208, allocations: 0.8354 MB / 1.08 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005284/0.8261, allocations: 3.459 MB / 1.083 GB, free: 80.61 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/0.8273, allocations: 1.497 MB / 1.085 GB, free: 79.81 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001868/0.8292, allocations: 437.8 kB / 1.085 GB, free: 79.72 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003127/0.8295, allocations: 131 kB / 1.085 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of SimCode: time 7.51e-07/0.8295, allocations: 1.031 kB / 1.085 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of Templates: time 0.05487/0.8844, allocations: 32.17 MB / 1.117 GB, free: 66.42 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)