Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.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.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 119.1 kB / 17.09 MB, free: 5.992 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.001058/0.001058, allocations: 196.6 kB / 18.02 MB, free: 5.066 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.392/1.392, allocations: 222.9 MB / 241.7 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.7401/0.7401, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.44 kB / 0.5584 GB, free: 32.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1681, allocations: 76.18 MB / 0.6327 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.05279/0.2209, allocations: 53.68 MB / 0.6852 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02582/0.2468, allocations: 17.01 MB / 0.7018 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003822/0.2507, allocations: 87.5 kB / 0.7019 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00586/0.2566, allocations: 1.915 MB / 0.7037 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008105/0.2647, allocations: 2.507 MB / 0.7062 GB, free: 8.93 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006454/0.2712, allocations: 2.357 MB / 0.7085 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01157/0.2827, allocations: 7.544 MB / 0.7159 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0029/0.2857, allocations: 1.666 MB / 0.7175 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005039/0.2907, allocations: 1.96 MB / 0.7194 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002516/0.2933, allocations: 1.435 MB / 0.7208 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003575/0.2936, allocations: 180 kB / 0.721 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004451/0.2981, allocations: 2.016 MB / 0.7229 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006876/0.2988, allocations: 0.6656 MB / 0.7236 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.3003, allocations: 1.22 MB / 0.7248 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006424/0.3067, allocations: 3.922 MB / 0.7286 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3067, allocations: 4 kB / 0.7286 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3067, allocations: 0 / 0.7286 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.253e-05/0.3068, allocations: 0 / 0.7286 GB, free: 1.898 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.005069/0.3118, allocations: 2.948 MB / 0.7315 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3119, allocations: 12.03 kB / 0.7315 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/0.3145, allocations: 0.5511 MB / 0.732 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004626/0.3192, allocations: 2.735 MB / 0.7347 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.149e-05/0.3193, allocations: 90.17 kB / 0.7348 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.3195, allocations: 124 kB / 0.7349 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/0.3222, allocations: 1.359 MB / 0.7362 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.3223, allocations: 4 kB / 0.7362 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.3224, allocations: 48 kB / 0.7363 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.812e-05/0.3225, allocations: 42.02 kB / 0.7363 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002813/0.3253, allocations: 1.113 MB / 0.7374 GB, free: 8.613 MB / 0.5762 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.01077/0.3361, allocations: 7.445 MB / 0.7447 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3872/0.7233, allocations: 1.332 MB / 0.746 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/0.7246, allocations: 425.7 kB / 0.7464 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00613/0.7307, allocations: 3.159 MB / 0.7495 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/0.7319, allocations: 432 kB / 0.7499 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=59): time 2.685e-06/0.7319, allocations: 0.6562 kB / 0.7499 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59): time 0.003576/0.7355, allocations: 1.242 MB / 0.7511 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.7355, allocations: 63.52 kB / 0.7512 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003723/0.7393, allocations: 2.128 MB / 0.7532 GB, free: 103.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.7394, allocations: 39.77 kB / 0.7533 GB, free: 103.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008646/0.7403, allocations: 1.019 MB / 0.7543 GB, free: 102.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.7405, allocations: 220.9 kB / 0.7545 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005194/0.741, allocations: 313.6 kB / 0.7548 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.423e-05/0.7411, allocations: 305.7 kB / 0.7551 GB, free: 102 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.7424, allocations: 0.5468 MB / 0.7556 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.7438, allocations: 0.9926 MB / 0.7566 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/0.7462, allocations: 1.459 MB / 0.758 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.7462, allocations: 2.406 kB / 0.758 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004291/0.7505, allocations: 1.759 MB / 0.7597 GB, free: 99.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/0.7506, allocations: 42 kB / 0.7598 GB, free: 99.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.658e-05/0.7506, allocations: 14.81 kB / 0.7598 GB, free: 99.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.232e-05/0.7507, allocations: 18.78 kB / 0.7598 GB, free: 99.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.7519, allocations: 308.7 kB / 0.7601 GB, free: 99.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.673e-05/0.7519, allocations: 33.61 kB / 0.7601 GB, free: 99.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.7535, allocations: 184.8 kB / 0.7603 GB, free: 99.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.7537, allocations: 60.2 kB / 0.7604 GB, free: 99.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002176/0.7558, allocations: 0.9743 MB / 0.7613 GB, free: 98.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001585/0.7574, allocations: 0.9879 MB / 0.7623 GB, free: 98.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002314/0.7598, allocations: 1.455 MB / 0.7637 GB, free: 97.35 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.858e-06/0.7598, allocations: 4.781 kB / 0.7637 GB, free: 97.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003631/0.7634, allocations: 1.759 MB / 0.7654 GB, free: 96.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.7635, allocations: 36.95 kB / 0.7655 GB, free: 96.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.7635, allocations: 15.91 kB / 0.7655 GB, free: 96.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.7635, allocations: 19.31 kB / 0.7655 GB, free: 96.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.7646, allocations: 311.3 kB / 0.7658 GB, free: 96.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.74e-05/0.7646, allocations: 27.27 kB / 0.7658 GB, free: 96.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.7661, allocations: 157.1 kB / 0.766 GB, free: 96.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.7662, allocations: 64.41 kB / 0.766 GB, free: 96.52 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003805/0.7666, allocations: 261 kB / 0.7663 GB, free: 96.28 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/0.7669, allocations: 199.3 kB / 0.7665 GB, free: 96.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.7695, allocations: 1.133 MB / 0.7676 GB, free: 95.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.7695, allocations: 6.875 kB / 0.7676 GB, free: 95.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.7695, allocations: 1.375 kB / 0.7676 GB, free: 95.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001807/0.7713, allocations: 0.9528 MB / 0.7685 GB, free: 95.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004306/0.7756, allocations: 2.626 MB / 0.7711 GB, free: 94.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.7757, allocations: 0 / 0.7711 GB, free: 94.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006791/0.7763, allocations: 147.3 kB / 0.7712 GB, free: 94.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001675/0.7765, allocations: 28.48 kB / 0.7712 GB, free: 94.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/0.7766, allocations: 19.75 kB / 0.7713 GB, free: 94.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007965/0.7774, allocations: 1.433 MB / 0.7727 GB, free: 92.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.7774, allocations: 0 / 0.7727 GB, free: 92.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002881/0.7803, allocations: 1.568 MB / 0.7742 GB, free: 91.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005913/0.7809, allocations: 400.8 kB / 0.7746 GB, free: 91.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.7811, allocations: 15.91 kB / 0.7746 GB, free: 91.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008997/0.782, allocations: 74.52 kB / 0.7747 GB, free: 91.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.7821, allocations: 48.06 kB / 0.7747 GB, free: 91.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-05/0.7822, allocations: 31.72 kB / 0.7747 GB, free: 91.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001785/0.784, allocations: 1.47 MB / 0.7762 GB, free: 90.63 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.784, allocations: 3.938 kB / 0.7762 GB, free: 90.63 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002485/0.7865, allocations: 1.031 MB / 0.7772 GB, free: 90.45 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001732/0.7882, allocations: 0.8682 MB / 0.778 GB, free: 90.15 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00375/0.792, allocations: 2.096 MB / 0.7801 GB, free: 88.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.792, allocations: 0 / 0.7801 GB, free: 88.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.793, allocations: 0.54 MB / 0.7806 GB, free: 87.97 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003617/0.7967, allocations: 0.9705 MB / 0.7815 GB, free: 87.04 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005394/0.8021, allocations: 3.699 MB / 0.7852 GB, free: 83.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007663/0.8029, allocations: 1.542 MB / 0.7867 GB, free: 81.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005311/0.8034, allocations: 175.4 kB / 0.7868 GB, free: 81.57 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.8034, allocations: 0 / 0.7868 GB, free: 81.57 MB / 0.5762 GB Notification: Performance of Templates: time 0.05049/0.8539, allocations: 40.49 MB / 0.8264 GB, free: 41.34 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)