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.0013/0.0013, allocations: 112.9 kB / 17.08 MB, free: 5.969 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.001257/0.001258, allocations: 195 kB / 18.02 MB, free: 5.051 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.259/1.259, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6763/0.6763, allocations: 115.3 MB / 407.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 65.23 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1333, allocations: 76.19 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example2): time 0.02696/0.1603, allocations: 30.01 MB / 0.662 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.1762, allocations: 11.74 MB / 0.6735 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00189/0.1781, allocations: 51.69 kB / 0.6735 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004288/0.1824, allocations: 1.489 MB / 0.675 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004185/0.1866, allocations: 1.613 MB / 0.6766 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003526/0.1901, allocations: 1.471 MB / 0.678 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009283/0.1994, allocations: 6.726 MB / 0.6846 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/0.2018, allocations: 1.396 MB / 0.6859 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003498/0.2053, allocations: 1.52 MB / 0.6874 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001889/0.2072, allocations: 1.109 MB / 0.6885 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004636/0.2077, allocations: 128 kB / 0.6886 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/0.2107, allocations: 1.31 MB / 0.6899 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008637/0.2115, allocations: 0.5295 MB / 0.6904 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001936/0.2135, allocations: 0.9716 MB / 0.6914 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005153/0.2187, allocations: 3.057 MB / 0.6944 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2187, allocations: 0 / 0.6944 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2187, allocations: 0 / 0.6944 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.976e-05/0.2188, allocations: 0 / 0.6944 GB, free: 5.066 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.004802/0.2236, allocations: 2.354 MB / 0.6967 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2237, allocations: 15.97 kB / 0.6967 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.2255, allocations: 381.2 kB / 0.697 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003832/0.2293, allocations: 2.395 MB / 0.6994 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.155e-05/0.2294, allocations: 69.98 kB / 0.6994 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.2296, allocations: 88 kB / 0.6995 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.2314, allocations: 1.013 MB / 0.7005 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.2315, allocations: 0 / 0.7005 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.568e-05/0.2316, allocations: 32 kB / 0.7005 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.2316, allocations: 20 kB / 0.7006 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.2333, allocations: 0.7493 MB / 0.7013 GB, free: 13.78 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.00648/0.2398, allocations: 5.243 MB / 0.7064 GB, free: 8.203 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.2411, allocations: 0.5669 MB / 0.707 GB, free: 7.629 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006374/0.2417, allocations: 316.7 kB / 0.7073 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002489/0.2442, allocations: 1.666 MB / 0.7089 GB, free: 5.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007155/0.2449, allocations: 322.9 kB / 0.7092 GB, free: 5.172 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004367/0.2454, allocations: 59.36 kB / 0.7093 GB, free: 5.113 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 4.008e-06/0.2454, allocations: 0 / 0.7093 GB, free: 5.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.003398/0.2488, allocations: 1.231 MB / 0.7105 GB, free: 3.852 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.2489, allocations: 59.39 kB / 0.7105 GB, free: 3.781 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002807/0.2517, allocations: 1.869 MB / 0.7123 GB, free: 1.867 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.04e-05/0.2518, allocations: 41.7 kB / 0.7124 GB, free: 1.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006976/0.2525, allocations: 0.783 MB / 0.7132 GB, free: 1.027 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.2526, allocations: 149.9 kB / 0.7133 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003604/0.253, allocations: 266.3 kB / 0.7135 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2531, allocations: 357.9 kB / 0.7139 GB, free: 264 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008397/0.254, allocations: 460.9 kB / 0.7143 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.255, allocations: 0.8354 MB / 0.7151 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.2568, allocations: 1.161 MB / 0.7163 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.2568, allocations: 4 kB / 0.7163 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002964/0.2597, allocations: 1.596 MB / 0.7178 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/0.2598, allocations: 37.69 kB / 0.7179 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.2598, allocations: 12 kB / 0.7179 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006705/0.2605, allocations: 189.1 kB / 0.7181 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007021/0.2612, allocations: 195.7 kB / 0.7183 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007336/0.262, allocations: 0.78 MB / 0.719 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.2631, allocations: 59.95 kB / 0.7191 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.96e-05/0.2632, allocations: 47.98 kB / 0.7191 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001361/0.2646, allocations: 0.8652 MB / 0.72 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009715/0.2656, allocations: 0.8184 MB / 0.7208 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001508/0.2671, allocations: 1.124 MB / 0.7219 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.663e-06/0.2671, allocations: 4 kB / 0.7219 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002643/0.2697, allocations: 1.58 MB / 0.7234 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.2698, allocations: 37.7 kB / 0.7234 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.2698, allocations: 8 kB / 0.7235 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000218/0.27, allocations: 109.4 kB / 0.7236 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/0.2707, allocations: 195.6 kB / 0.7237 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.2729, allocations: 2.36 MB / 0.726 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.2741, allocations: 71.95 kB / 0.7261 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.2742, allocations: 47.98 kB / 0.7262 GB, free: 2.867 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.0002949/0.2745, allocations: 243 kB / 0.7264 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000381/0.2749, allocations: 169.8 kB / 0.7266 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.277, allocations: 0.9044 MB / 0.7274 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.277, allocations: 4 kB / 0.7274 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.277, allocations: 0 / 0.7274 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001438/0.2785, allocations: 0.8959 MB / 0.7283 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003881/0.2824, allocations: 1.999 MB / 0.7303 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.2824, allocations: 4.031 kB / 0.7303 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004469/0.2828, allocations: 83.88 kB / 0.7304 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002766/0.2831, allocations: 120.8 kB / 0.7305 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.372e-05/0.2832, allocations: 15.98 kB / 0.7305 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005792/0.2838, allocations: 0.7511 MB / 0.7312 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.2838, allocations: 4.125 kB / 0.7312 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/0.2862, allocations: 1.237 MB / 0.7324 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006657/0.2869, allocations: 314.9 kB / 0.7327 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003372/0.2872, allocations: 8 kB / 0.7327 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008139/0.288, allocations: 43.95 kB / 0.7328 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.454e-05/0.2881, allocations: 36.02 kB / 0.7328 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.99e-05/0.2882, allocations: 27.91 kB / 0.7328 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002111/0.2903, allocations: 1.269 MB / 0.7341 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2903, allocations: 0 / 0.7341 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002477/0.2928, allocations: 0.8112 MB / 0.7349 GB, free: 9.676 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.001357/0.2942, allocations: 0.509 MB / 0.7354 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003503/0.2977, allocations: 1.865 MB / 0.7372 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.2977, allocations: 4 kB / 0.7372 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007703/0.2985, allocations: 333.3 kB / 0.7375 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/0.3018, allocations: 0.8024 MB / 0.7383 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006499/0.3083, allocations: 3.063 MB / 0.7413 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/0.3096, allocations: 1.433 MB / 0.7427 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000486/0.3101, allocations: 135.4 kB / 0.7428 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of SimCode: time 8.02e-07/0.3101, allocations: 4 kB / 0.7428 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of Templates: time 0.3374/0.6475, allocations: 37.19 MB / 0.7791 GB, free: 108.5 MB / 0.5919 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)