Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 100.1 kB / 16.4 MB, free: 6.516 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.001566/0.001567, allocations: 196 kB / 17.34 MB, free: 5.738 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7365/0.7365, allocations: 122.9 MB / 414.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 58.48 kB / 0.5685 GB, free: 28.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1413, allocations: 77.95 MB / 0.6446 GB, free: 8.953 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.06195/0.2033, allocations: 67.41 MB / 0.7104 GB, free: 5.312 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02624/0.2295, allocations: 18.59 MB / 0.7286 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003262/0.2328, allocations: 91.5 kB / 0.7287 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006427/0.2393, allocations: 1.979 MB / 0.7306 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007902/0.2472, allocations: 2.834 MB / 0.7334 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005803/0.253, allocations: 2.431 MB / 0.7357 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01087/0.2639, allocations: 8.278 MB / 0.7438 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002682/0.2666, allocations: 1.946 MB / 0.7457 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3208/0.5873, allocations: 2.081 MB / 0.7477 GB, free: 19.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003009/0.5904, allocations: 1.556 MB / 0.7493 GB, free: 19.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006939/0.5911, allocations: 198.8 kB / 0.7495 GB, free: 19.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004952/0.596, allocations: 2.153 MB / 0.7516 GB, free: 19.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.5973, allocations: 0.6974 MB / 0.7522 GB, free: 19.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002527/0.5999, allocations: 1.326 MB / 0.7535 GB, free: 19.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009494/0.6094, allocations: 4.26 MB / 0.7577 GB, free: 19.03 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6094, allocations: 3.938 kB / 0.7577 GB, free: 19.03 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6094, allocations: 0.9688 kB / 0.7577 GB, free: 19.03 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.17e-05/0.6095, allocations: 0 / 0.7577 GB, free: 19.03 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.006999/0.6165, allocations: 3.196 MB / 0.7608 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.6166, allocations: 10.34 kB / 0.7608 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002263/0.6189, allocations: 0.4916 MB / 0.7613 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005298/0.6242, allocations: 2.889 MB / 0.7641 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.6243, allocations: 103.8 kB / 0.7642 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002944/0.6246, allocations: 134.8 kB / 0.7644 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0028/0.6274, allocations: 1.449 MB / 0.7658 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.6275, allocations: 4.375 kB / 0.7658 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.6276, allocations: 53.5 kB / 0.7658 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.745e-05/0.6276, allocations: 49.34 kB / 0.7659 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002475/0.6301, allocations: 1.126 MB / 0.767 GB, free: 16.34 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.009117/0.6393, allocations: 7.747 MB / 0.7745 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.6412, allocations: 1.284 MB / 0.7758 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009413/0.6421, allocations: 457 kB / 0.7762 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004826/0.647, allocations: 2.706 MB / 0.7789 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009944/0.648, allocations: 475.6 kB / 0.7793 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 2.144e-06/0.648, allocations: 4 kB / 0.7793 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.003341/0.6514, allocations: 1.246 MB / 0.7805 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.6514, allocations: 114.6 kB / 0.7807 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003448/0.6549, allocations: 2.073 MB / 0.7827 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001851/0.6551, allocations: 49.2 kB / 0.7827 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007552/0.6559, allocations: 1.052 MB / 0.7838 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.6561, allocations: 232.8 kB / 0.784 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003909/0.6565, allocations: 318.2 kB / 0.7843 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.288e-05/0.6565, allocations: 304.1 kB / 0.7846 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.6576, allocations: 0.5497 MB / 0.7851 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.6589, allocations: 0.9662 MB / 0.7861 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/0.661, allocations: 1.421 MB / 0.7874 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.661, allocations: 2.531 kB / 0.7874 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003091/0.6641, allocations: 1.761 MB / 0.7892 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.6641, allocations: 37.8 kB / 0.7892 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.6641, allocations: 9.469 kB / 0.7892 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.6642, allocations: 17.41 kB / 0.7892 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009981/0.6652, allocations: 303.1 kB / 0.7895 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.151e-05/0.6652, allocations: 26.31 kB / 0.7895 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.6669, allocations: 182.2 kB / 0.7897 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.667, allocations: 57.08 kB / 0.7898 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001737/0.6688, allocations: 0.9816 MB / 0.7907 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001185/0.67, allocations: 0.9675 MB / 0.7917 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00195/0.6719, allocations: 1.428 MB / 0.7931 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.602e-06/0.6719, allocations: 3.438 kB / 0.7931 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.00325/0.6752, allocations: 1.753 MB / 0.7948 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.6752, allocations: 37.92 kB / 0.7948 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.6753, allocations: 11.44 kB / 0.7948 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.6753, allocations: 18.09 kB / 0.7948 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.6763, allocations: 303.7 kB / 0.7951 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.996e-05/0.6763, allocations: 20.09 kB / 0.7952 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/0.6782, allocations: 164.1 kB / 0.7953 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.6783, allocations: 58.53 kB / 0.7954 GB, free: 5.75 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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.0004038/0.6788, allocations: 258.3 kB / 0.7956 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003611/0.6791, allocations: 217.5 kB / 0.7958 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/0.6816, allocations: 1.077 MB / 0.7969 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.6816, allocations: 8.062 kB / 0.7969 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.6816, allocations: 4 kB / 0.7969 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001607/0.6832, allocations: 0.7727 MB / 0.7976 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004927/0.6881, allocations: 2.908 MB / 0.8005 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.6882, allocations: 3.938 kB / 0.8005 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007147/0.6889, allocations: 155.4 kB / 0.8006 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001593/0.6891, allocations: 31.81 kB / 0.8007 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.572e-05/0.6891, allocations: 22.14 kB / 0.8007 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007498/0.6899, allocations: 1.43 MB / 0.8021 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.6899, allocations: 6.953 kB / 0.8021 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003046/0.693, allocations: 1.61 MB / 0.8037 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008209/0.6938, allocations: 418.7 kB / 0.8041 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002936/0.6941, allocations: 19.17 kB / 0.8041 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.6951, allocations: 68.77 kB / 0.8041 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.6953, allocations: 61.28 kB / 0.8042 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-05/0.6954, allocations: 37 kB / 0.8042 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001898/0.6973, allocations: 1.456 MB / 0.8057 GB, free: 272 kB / 0.5762 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6973, allocations: 3.281 kB / 0.8057 GB, free: 272 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002966/0.7002, allocations: 1.111 MB / 0.8067 GB, free: 28 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * 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 (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001632/0.7019, allocations: 0.6799 MB / 0.8074 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00386/0.7058, allocations: 2.092 MB / 0.8094 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.7058, allocations: 0 / 0.8094 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.7069, allocations: 0.5425 MB / 0.81 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004667/0.7116, allocations: 1.106 MB / 0.8111 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006215/0.7178, allocations: 3.785 MB / 0.8148 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/0.7191, allocations: 1.57 MB / 0.8163 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002085/0.7212, allocations: 0.5284 MB / 0.8168 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004603/0.7217, allocations: 178.9 kB / 0.817 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of SimCode: time 7.82e-07/0.7217, allocations: 0 / 0.817 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of Templates: time 0.06411/0.7858, allocations: 42.61 MB / 0.8586 GB, free: 13.94 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)