Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2") translateModel(IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 106.5 kB / 16.4 MB, free: 6.023 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.001332/0.001332, allocations: 192.5 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.668/0.668, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 62.25 kB / 0.5577 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.129, allocations: 76.19 MB / 0.6321 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example2): time 0.02596/0.155, allocations: 30.02 MB / 0.6614 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01545/0.1705, allocations: 11.73 MB / 0.6728 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/0.1724, allocations: 47.75 kB / 0.6729 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003744/0.1761, allocations: 1.494 MB / 0.6743 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003683/0.1798, allocations: 1.609 MB / 0.6759 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.1829, allocations: 1.474 MB / 0.6773 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007759/0.1907, allocations: 6.724 MB / 0.6839 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/0.1924, allocations: 1.396 MB / 0.6853 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002999/0.1954, allocations: 1.522 MB / 0.6868 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.1968, allocations: 1.109 MB / 0.6878 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002148/0.1971, allocations: 128 kB / 0.688 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.1996, allocations: 1.303 MB / 0.6892 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004494/0.2, allocations: 0.5334 MB / 0.6898 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009196/0.201, allocations: 0.9716 MB / 0.6907 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003503/0.2045, allocations: 3.042 MB / 0.6937 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2045, allocations: 7.938 kB / 0.6937 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2045, allocations: 0 / 0.6937 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.86e-05/0.2045, allocations: 0 / 0.6937 GB, free: 5.074 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003807/0.2084, allocations: 2.37 MB / 0.696 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.2084, allocations: 8.031 kB / 0.696 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/0.2102, allocations: 385.2 kB / 0.6964 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003602/0.2138, allocations: 2.391 MB / 0.6987 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/0.2139, allocations: 74 kB / 0.6988 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.214, allocations: 84 kB / 0.6989 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.2157, allocations: 1.009 MB / 0.6998 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.2158, allocations: 3.938 kB / 0.6999 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.389e-05/0.2159, allocations: 39.94 kB / 0.6999 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.2159, allocations: 19.98 kB / 0.6999 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.2174, allocations: 0.7532 MB / 0.7006 GB, free: 13.77 MB / 0.545 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.005537/0.223, allocations: 5.243 MB / 0.7058 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.2242, allocations: 0.5611 MB / 0.7063 GB, free: 7.621 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006214/0.2249, allocations: 320.7 kB / 0.7066 GB, free: 7.305 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001947/0.2268, allocations: 1.662 MB / 0.7082 GB, free: 5.492 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006971/0.2275, allocations: 326.8 kB / 0.7086 GB, free: 5.16 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000241/0.2278, allocations: 59.36 kB / 0.7086 GB, free: 5.102 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 2.194e-06/0.2278, allocations: 0 / 0.7086 GB, free: 5.102 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.00312/0.2309, allocations: 1.231 MB / 0.7098 GB, free: 3.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.231, allocations: 55.41 kB / 0.7099 GB, free: 3.773 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/0.2331, allocations: 1.869 MB / 0.7117 GB, free: 1.859 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/0.2332, allocations: 37.7 kB / 0.7117 GB, free: 1.816 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005893/0.2338, allocations: 0.7831 MB / 0.7125 GB, free: 1.023 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.2339, allocations: 149.9 kB / 0.7126 GB, free: 0.875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/0.2342, allocations: 270.3 kB / 0.7129 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2344, allocations: 357.9 kB / 0.7132 GB, free: 256 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008113/0.2352, allocations: 464.9 kB / 0.7137 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.2362, allocations: 0.8275 MB / 0.7145 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.2378, allocations: 1.161 MB / 0.7156 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.2378, allocations: 4 kB / 0.7156 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002678/0.2405, allocations: 1.596 MB / 0.7172 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/0.2406, allocations: 41.7 kB / 0.7172 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.2406, allocations: 8 kB / 0.7172 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005986/0.2412, allocations: 181 kB / 0.7174 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006862/0.2419, allocations: 199.6 kB / 0.7176 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007066/0.2426, allocations: 0.7745 MB / 0.7183 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009171/0.2435, allocations: 68 kB / 0.7184 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-05/0.2436, allocations: 47.98 kB / 0.7185 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001173/0.2448, allocations: 0.8652 MB / 0.7193 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009148/0.2457, allocations: 0.824 MB / 0.7201 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001431/0.2472, allocations: 1.116 MB / 0.7212 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.53e-06/0.2472, allocations: 8 kB / 0.7212 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002291/0.2495, allocations: 1.584 MB / 0.7228 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.2495, allocations: 41.69 kB / 0.7228 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2496, allocations: 8 kB / 0.7228 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001848/0.2497, allocations: 109.5 kB / 0.7229 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006275/0.2504, allocations: 191.7 kB / 0.7231 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.2525, allocations: 2.364 MB / 0.7254 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008609/0.2534, allocations: 72.02 kB / 0.7255 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.785e-05/0.2534, allocations: 44 kB / 0.7255 GB, free: 2.859 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (105): * Single equations (assignments): 101 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002396/0.2537, allocations: 243.9 kB / 0.7257 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.2539, allocations: 173.8 kB / 0.7259 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/0.2558, allocations: 0.8962 MB / 0.7268 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.2558, allocations: 7.938 kB / 0.7268 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.2558, allocations: 0 / 0.7268 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001416/0.2572, allocations: 0.892 MB / 0.7277 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.2602, allocations: 1.999 MB / 0.7296 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2602, allocations: 64 / 0.7296 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004179/0.2606, allocations: 79.94 kB / 0.7297 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000251/0.2609, allocations: 133 kB / 0.7298 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/0.261, allocations: 11.98 kB / 0.7298 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005551/0.2615, allocations: 0.7512 MB / 0.7306 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2615, allocations: 4 kB / 0.7306 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/0.2637, allocations: 1.23 MB / 0.7318 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003814/0.2641, allocations: 322.8 kB / 0.7321 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.2643, allocations: 11.94 kB / 0.7321 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006597/0.2649, allocations: 47.95 kB / 0.7321 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.725e-05/0.265, allocations: 31.95 kB / 0.7322 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.2651, allocations: 20.05 kB / 0.7322 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001541/0.2666, allocations: 1.281 MB / 0.7334 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2666, allocations: 0 / 0.7334 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00191/0.2685, allocations: 0.8112 MB / 0.7342 GB, free: 9.66 MB / 0.5762 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 (37): * Single equations (assignments): 31 * 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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009579/0.2695, allocations: 0.4968 MB / 0.7347 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00311/0.2726, allocations: 1.873 MB / 0.7365 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2726, allocations: 0 / 0.7365 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007395/0.2734, allocations: 333.3 kB / 0.7369 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002781/0.2762, allocations: 0.8083 MB / 0.7376 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005197/0.2814, allocations: 2.988 MB / 0.7406 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.2824, allocations: 1.436 MB / 0.742 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001257/0.2837, allocations: 437.3 kB / 0.7424 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.284, allocations: 135.4 kB / 0.7425 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.284, allocations: 0 / 0.7425 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of Templates: time 0.3341/0.6181, allocations: 33.61 MB / 0.7753 GB, free: 90.12 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1)