Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 105.2 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001468, allocations: 191.6 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 292.3 MB / 0.5495 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 71.91 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2245, allocations: 114.6 MB / 0.784 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.3881/0.6127, allocations: 32.86 MB / 0.8161 GB, free: 29.3 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01772/0.6304, allocations: 13.04 MB / 0.8288 GB, free: 20.4 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/0.6329, allocations: 47.53 kB / 0.8289 GB, free: 20.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002516/0.6355, allocations: 0.7256 MB / 0.8296 GB, free: 19.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004935/0.6404, allocations: 1.568 MB / 0.8311 GB, free: 19.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004141/0.6446, allocations: 1.397 MB / 0.8325 GB, free: 18.37 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0067/0.6513, allocations: 4.846 MB / 0.8372 GB, free: 16.15 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003324/0.6547, allocations: 2.071 MB / 0.8392 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004639/0.6594, allocations: 1.879 MB / 0.8411 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003025/0.6624, allocations: 1.366 MB / 0.8424 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004902/0.6629, allocations: 143.8 kB / 0.8426 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003556/0.6665, allocations: 1.154 MB / 0.8437 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007181/0.6672, allocations: 462.2 kB / 0.8441 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001762/0.669, allocations: 1.011 MB / 0.8451 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005029/0.674, allocations: 2.899 MB / 0.8479 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.6741, allocations: 0 / 0.8479 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6741, allocations: 0 / 0.8479 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.387e-05/0.6742, allocations: 5.531 kB / 0.8479 GB, free: 11.63 MB / 0.6544 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.004739/0.6789, allocations: 2.377 MB / 0.8503 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.679, allocations: 8.938 kB / 0.8503 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.6803, allocations: 299.4 kB / 0.8506 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/0.6836, allocations: 1.6 MB / 0.8521 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.5e-05/0.6837, allocations: 83.78 kB / 0.8522 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.6839, allocations: 108.1 kB / 0.8523 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002394/0.6863, allocations: 1.281 MB / 0.8536 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.6863, allocations: 6.25 kB / 0.8536 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.6865, allocations: 38.42 kB / 0.8536 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.6865, allocations: 23.97 kB / 0.8536 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.6884, allocations: 0.9796 MB / 0.8546 GB, free: 8.082 MB / 0.6544 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.007407/0.6958, allocations: 6.531 MB / 0.861 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.6971, allocations: 0.583 MB / 0.8615 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006492/0.6977, allocations: 391.7 kB / 0.8619 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002755/0.7005, allocations: 1.698 MB / 0.8636 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006835/0.7012, allocations: 360.6 kB / 0.8639 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006758/0.7019, allocations: 78.22 kB / 0.864 GB, free: 460 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 3.336e-06/0.7019, allocations: 4 kB / 0.864 GB, free: 456 kB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.003408/0.7053, allocations: 1.31 MB / 0.8653 GB, free: 15.72 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.7054, allocations: 60.34 kB / 0.8653 GB, free: 15.65 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/0.7079, allocations: 1.786 MB / 0.8671 GB, free: 14.68 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.7081, allocations: 40.33 kB / 0.8671 GB, free: 14.64 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007387/0.7088, allocations: 0.8503 MB / 0.8679 GB, free: 13.89 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.709, allocations: 156.4 kB / 0.8681 GB, free: 13.76 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.7093, allocations: 198.8 kB / 0.8683 GB, free: 13.64 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.7094, allocations: 334.7 kB / 0.8686 GB, free: 13.32 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006383/0.71, allocations: 318.2 kB / 0.8689 GB, free: 13.16 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009073/0.711, allocations: 0.7444 MB / 0.8696 GB, free: 12.41 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.7125, allocations: 0.9863 MB / 0.8706 GB, free: 11.64 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.7125, allocations: 3.406 kB / 0.8706 GB, free: 11.64 MB / 0.67 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002888/0.7154, allocations: 1.306 MB / 0.8719 GB, free: 10.95 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.057e-05/0.7155, allocations: 36.05 kB / 0.8719 GB, free: 10.92 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.7155, allocations: 10.03 kB / 0.8719 GB, free: 10.92 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006688/0.7162, allocations: 190.8 kB / 0.8721 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006394/0.7168, allocations: 166.5 kB / 0.8722 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000666/0.7175, allocations: 0.767 MB / 0.873 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.7188, allocations: 54.69 kB / 0.873 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.7189, allocations: 43.73 kB / 0.8731 GB, free: 10.11 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001497/0.7204, allocations: 0.7101 MB / 0.8738 GB, free: 9.695 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008965/0.7213, allocations: 0.7135 MB / 0.8745 GB, free: 8.965 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001425/0.7228, allocations: 0.9204 MB / 0.8754 GB, free: 8.219 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.628e-05/0.7228, allocations: 6.641 kB / 0.8754 GB, free: 8.215 MB / 0.67 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002666/0.7255, allocations: 1.264 MB / 0.8766 GB, free: 7.488 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/0.7255, allocations: 34.58 kB / 0.8767 GB, free: 7.457 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.7256, allocations: 14.59 kB / 0.8767 GB, free: 7.453 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002779/0.7259, allocations: 128.6 kB / 0.8768 GB, free: 7.402 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/0.7265, allocations: 164.4 kB / 0.8769 GB, free: 7.359 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/0.7289, allocations: 2.317 MB / 0.8792 GB, free: 5.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.7303, allocations: 46.86 kB / 0.8793 GB, free: 5.305 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.7305, allocations: 47.27 kB / 0.8793 GB, free: 5.293 MB / 0.67 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (84): * Single equations (assignments): 81 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003778/0.7308, allocations: 251.2 kB / 0.8795 GB, free: 5.059 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006016/0.7314, allocations: 170.7 kB / 0.8797 GB, free: 4.969 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002601/0.7341, allocations: 1.001 MB / 0.8807 GB, free: 4.43 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.7341, allocations: 4.812 kB / 0.8807 GB, free: 4.43 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.7341, allocations: 3.938 kB / 0.8807 GB, free: 4.426 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001517/0.7356, allocations: 0.9467 MB / 0.8816 GB, free: 3.75 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005038/0.7407, allocations: 2.101 MB / 0.8837 GB, free: 2.359 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.7407, allocations: 0 / 0.8837 GB, free: 2.359 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004637/0.7412, allocations: 95.05 kB / 0.8838 GB, free: 2.324 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003097/0.7415, allocations: 126 kB / 0.8839 GB, free: 2.262 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/0.7416, allocations: 18.58 kB / 0.8839 GB, free: 2.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006036/0.7422, allocations: 0.7298 MB / 0.8846 GB, free: 1.621 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7422, allocations: 1.469 kB / 0.8846 GB, free: 1.621 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/0.745, allocations: 1.35 MB / 0.8859 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009511/0.746, allocations: 298.9 kB / 0.8862 GB, free: 372 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004985/0.7465, allocations: 12 kB / 0.8862 GB, free: 360 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009254/0.7474, allocations: 28.03 kB / 0.8862 GB, free: 332 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.7475, allocations: 48.31 kB / 0.8863 GB, free: 284 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.854e-05/0.7476, allocations: 23.98 kB / 0.8863 GB, free: 260 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002239/0.7499, allocations: 1.231 MB / 0.8875 GB, free: 15 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7499, allocations: 0 / 0.8875 GB, free: 15 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003377/0.7533, allocations: 0.7914 MB / 0.8883 GB, free: 14.21 MB / 0.6856 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001385/0.7547, allocations: 380.1 kB / 0.8887 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003412/0.7581, allocations: 1.521 MB / 0.8901 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.7581, allocations: 0 / 0.8901 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007627/0.7589, allocations: 338.3 kB / 0.8905 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004504/0.7634, allocations: 0.7792 MB / 0.8912 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006125/0.7696, allocations: 2.948 MB / 0.8941 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/0.771, allocations: 1.483 MB / 0.8956 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005117/0.7716, allocations: 135.3 kB / 0.8957 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of SimCode: time 1.162e-06/0.7716, allocations: 0 / 0.8957 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of Templates: time 0.05075/0.8223, allocations: 37.2 MB / 0.932 GB, free: 1.637 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)