Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.648/1.648, allocations: 288.4 MB / 303.7 MB, free: 8.223 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.001037/0.001037, allocations: 189.1 kB / 372.3 MB, free: 10.09 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.37/1.37, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0007401/0.00074, allocations: 102.2 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.0004072, allocations: 16.17 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.213, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02306/0.2362, allocations: 30.15 MB / 1.01 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01886/0.2551, allocations: 12.27 MB / 1.022 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.2569, allocations: 43.69 kB / 1.022 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002111/0.259, allocations: 0.5517 MB / 1.022 GB, free: 220 kB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004059/0.2631, allocations: 1.356 MB / 1.023 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003446/0.2666, allocations: 1.087 MB / 1.025 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.006801/0.2734, allocations: 5.538 MB / 1.03 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002946/0.2764, allocations: 1.729 MB / 1.032 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004011/0.2804, allocations: 1.576 MB / 1.033 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002919/0.2834, allocations: 1.287 MB / 1.034 GB, free: 3.586 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0007477/0.2842, allocations: 75.94 kB / 1.034 GB, free: 3.512 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003507/0.2877, allocations: 1.053 MB / 1.036 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.2888, allocations: 378.3 kB / 1.036 GB, free: 2.086 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002162/0.291, allocations: 0.9111 MB / 1.037 GB, free: 1.164 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003739/0.2948, allocations: 2.198 MB / 1.039 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2948, allocations: 0 / 1.039 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2948, allocations: 0 / 1.039 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001401/0.2949, allocations: 0 / 1.039 GB, free: 14.96 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.005144/0.3001, allocations: 2.073 MB / 1.041 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.3002, allocations: 12.03 kB / 1.041 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/0.3017, allocations: 310.3 kB / 1.041 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004086/0.3059, allocations: 1.648 MB / 1.043 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.306, allocations: 82 kB / 1.043 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003369/0.3064, allocations: 104 kB / 1.043 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00325/0.3096, allocations: 1.33 MB / 1.044 GB, free: 9.223 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.684e-05/0.3097, allocations: 3.938 kB / 1.044 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.3099, allocations: 44 kB / 1.044 GB, free: 9.176 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.132e-05/0.3099, allocations: 31.88 kB / 1.044 GB, free: 9.145 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002512/0.3125, allocations: 1.05 MB / 1.045 GB, free: 8.09 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.01108/0.3235, allocations: 6.988 MB / 1.052 GB, free: 0.6016 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.3252, allocations: 0.6779 MB / 1.053 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008785/0.3261, allocations: 426.4 kB / 1.053 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004039/0.3302, allocations: 1.835 MB / 1.055 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009418/0.3312, allocations: 412.8 kB / 1.056 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008521/0.3321, allocations: 99.38 kB / 1.056 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 4.318e-06/0.3321, allocations: 0 / 1.056 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.004663/0.3367, allocations: 1.54 MB / 1.057 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.3368, allocations: 59.39 kB / 1.057 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003532/0.3404, allocations: 1.843 MB / 1.059 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.3405, allocations: 37.7 kB / 1.059 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009598/0.3415, allocations: 0.8576 MB / 1.06 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.3417, allocations: 161.7 kB / 1.06 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.3418, allocations: 16 kB / 1.06 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.342, allocations: 338 kB / 1.06 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008577/0.3428, allocations: 325.7 kB / 1.061 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.3441, allocations: 0.78 MB / 1.061 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/0.3458, allocations: 1.003 MB / 1.062 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/0.3459, allocations: 4 kB / 1.062 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00342/0.3493, allocations: 1.347 MB / 1.064 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003637/0.3497, allocations: 424.8 kB / 1.064 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.3497, allocations: 8 kB / 1.064 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008938/0.3506, allocations: 228.5 kB / 1.064 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007144/0.3513, allocations: 183.7 kB / 1.065 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000903/0.3523, allocations: 0.8371 MB / 1.065 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.354, allocations: 120.5 kB / 1.065 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.3541, allocations: 47.98 kB / 1.065 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.3541, allocations: 4 kB / 1.065 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002011/0.3562, allocations: 1.031 MB / 1.066 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/0.3562, allocations: 8 kB / 1.066 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004301/0.3566, allocations: 155.3 kB / 1.067 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.3572, allocations: 167.7 kB / 1.067 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4417/0.7989, allocations: 2.353 MB / 1.069 GB, free: 86.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.8006, allocations: 111.2 kB / 1.069 GB, free: 86.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.8007, allocations: 42.84 kB / 1.069 GB, free: 86.15 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.001232/0.802, allocations: 0.5876 MB / 1.07 GB, free: 85.96 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003289/0.8023, allocations: 171.6 kB / 1.07 GB, free: 85.96 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/0.8049, allocations: 1.081 MB / 1.071 GB, free: 85.72 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.8049, allocations: 9.188 kB / 1.071 GB, free: 85.72 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.805, allocations: 0 / 1.071 GB, free: 85.72 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001716/0.8067, allocations: 1.02 MB / 1.072 GB, free: 85.15 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.004375/0.8111, allocations: 2.323 MB / 1.074 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.8111, allocations: 4.75 kB / 1.074 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005126/0.8116, allocations: 92.94 kB / 1.074 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003792/0.812, allocations: 142.8 kB / 1.075 GB, free: 84.07 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.667e-05/0.8121, allocations: 16.89 kB / 1.075 GB, free: 84.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006665/0.8127, allocations: 0.8057 MB / 1.075 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.8127, allocations: 0.625 kB / 1.075 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003175/0.8159, allocations: 1.481 MB / 1.077 GB, free: 82.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008693/0.8168, allocations: 342.8 kB / 1.077 GB, free: 82.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.817, allocations: 12.05 kB / 1.077 GB, free: 82.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009328/0.8179, allocations: 107.3 kB / 1.077 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.8181, allocations: 37.48 kB / 1.077 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-05/0.8181, allocations: 23.38 kB / 1.077 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00234/0.8205, allocations: 1.275 MB / 1.079 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8205, allocations: 0 / 1.079 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002985/0.8235, allocations: 0.8435 MB / 1.079 GB, free: 82.12 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.0009824/0.8245, allocations: 386 kB / 1.08 GB, free: 82 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003396/0.8279, allocations: 1.525 MB / 1.081 GB, free: 81.37 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.8279, allocations: 1.188 kB / 1.081 GB, free: 81.37 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008662/0.8288, allocations: 374.9 kB / 1.082 GB, free: 81.26 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004413/0.8332, allocations: 0.8335 MB / 1.082 GB, free: 81.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005219/0.8385, allocations: 3.448 MB / 1.086 GB, free: 79.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/0.8397, allocations: 1.504 MB / 1.087 GB, free: 78.58 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001935/0.8416, allocations: 433.2 kB / 1.088 GB, free: 78.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.8419, allocations: 127.8 kB / 1.088 GB, free: 78.48 MB / 0.6823 GB Notification: Performance of SimCode: time 1.143e-06/0.8419, allocations: 4 kB / 1.088 GB, free: 78.48 MB / 0.6823 GB Notification: Performance of Templates: time 0.05558/0.8975, allocations: 32.65 MB / 1.12 GB, free: 63.44 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)