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.0009869/0.0009869, allocations: 111 kB / 16.41 MB, free: 6.492 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.0009976/0.0009976, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.233/1.233, 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.6691/0.6691, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 66.52 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1082, allocations: 76.18 MB / 0.6321 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.047/0.1553, allocations: 53.69 MB / 0.6845 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02181/0.1771, allocations: 17 MB / 0.7011 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002121/0.1793, allocations: 91.5 kB / 0.7012 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0043/0.1836, allocations: 1.911 MB / 0.7031 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005132/0.1887, allocations: 2.509 MB / 0.7055 GB, free: 8.949 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004672/0.1934, allocations: 2.353 MB / 0.7078 GB, free: 6.609 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008803/0.2022, allocations: 7.539 MB / 0.7152 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001978/0.2042, allocations: 1.67 MB / 0.7168 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003255/0.2075, allocations: 1.97 MB / 0.7187 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.209, allocations: 1.431 MB / 0.7201 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002701/0.2093, allocations: 176 kB / 0.7203 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/0.2126, allocations: 2.024 MB / 0.7223 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005467/0.2131, allocations: 0.6657 MB / 0.7229 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.2142, allocations: 1.22 MB / 0.7241 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004538/0.2187, allocations: 3.926 MB / 0.728 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2187, allocations: 0 / 0.728 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2187, allocations: 0 / 0.728 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.407e-05/0.2188, allocations: 0 / 0.728 GB, free: 1.914 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.004373/0.2232, allocations: 2.944 MB / 0.7308 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.2232, allocations: 8.031 kB / 0.7308 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002436/0.2256, allocations: 0.5472 MB / 0.7314 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004127/0.2298, allocations: 2.735 MB / 0.734 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.195e-05/0.2299, allocations: 94.17 kB / 0.7341 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.2301, allocations: 128 kB / 0.7343 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.2325, allocations: 1.359 MB / 0.7356 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.2326, allocations: 3.938 kB / 0.7356 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.2327, allocations: 48 kB / 0.7356 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-05/0.2327, allocations: 46.06 kB / 0.7357 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/0.2353, allocations: 1.101 MB / 0.7368 GB, free: 8.641 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.008442/0.2438, allocations: 7.46 MB / 0.744 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2556/0.4994, allocations: 1.334 MB / 0.7453 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.5005, allocations: 425.9 kB / 0.7457 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004882/0.5054, allocations: 3.154 MB / 0.7488 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.5064, allocations: 426.4 kB / 0.7492 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=59): time 2.435e-06/0.5064, allocations: 0 / 0.7492 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59): time 0.002942/0.5094, allocations: 1.245 MB / 0.7504 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.5094, allocations: 59.06 kB / 0.7505 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/0.5123, allocations: 2.13 MB / 0.7526 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.5125, allocations: 39.77 kB / 0.7526 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000754/0.5132, allocations: 1.022 MB / 0.7536 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.5134, allocations: 220.3 kB / 0.7538 GB, free: 102 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004478/0.5139, allocations: 312.1 kB / 0.7541 GB, free: 101.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.5139, allocations: 302.3 kB / 0.7544 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.5151, allocations: 0.5565 MB / 0.755 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.5163, allocations: 0.9939 MB / 0.7559 GB, free: 100.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/0.5184, allocations: 1.448 MB / 0.7573 GB, free: 99.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.5185, allocations: 4.469 kB / 0.7573 GB, free: 99.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.00345/0.5219, allocations: 1.76 MB / 0.7591 GB, free: 99.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.522, allocations: 37.08 kB / 0.7591 GB, free: 99.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.697e-05/0.522, allocations: 13.12 kB / 0.7591 GB, free: 99.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.625e-05/0.5221, allocations: 18.34 kB / 0.7591 GB, free: 99.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.5232, allocations: 313.2 kB / 0.7594 GB, free: 99.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.692e-05/0.5232, allocations: 28.41 kB / 0.7595 GB, free: 99.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.5245, allocations: 184 kB / 0.7596 GB, free: 98.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.5247, allocations: 64.53 kB / 0.7597 GB, free: 98.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001902/0.5266, allocations: 0.9715 MB / 0.7606 GB, free: 98.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001516/0.5281, allocations: 0.9842 MB / 0.7616 GB, free: 97.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002376/0.5305, allocations: 1.458 MB / 0.763 GB, free: 96.95 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.244e-06/0.5305, allocations: 2.5 kB / 0.763 GB, free: 96.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003144/0.5337, allocations: 1.763 MB / 0.7648 GB, free: 96.26 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.5337, allocations: 41.86 kB / 0.7648 GB, free: 96.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.5337, allocations: 14.09 kB / 0.7648 GB, free: 96.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.5337, allocations: 17.19 kB / 0.7648 GB, free: 96.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.5348, allocations: 309.1 kB / 0.7651 GB, free: 96.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/0.5348, allocations: 30.56 kB / 0.7651 GB, free: 96.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.5361, allocations: 160.4 kB / 0.7653 GB, free: 96.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.922e-05/0.5362, allocations: 64.59 kB / 0.7654 GB, free: 96.11 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.0002866/0.5365, allocations: 255.9 kB / 0.7656 GB, free: 95.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/0.5367, allocations: 202.8 kB / 0.7658 GB, free: 95.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/0.5391, allocations: 1.128 MB / 0.7669 GB, free: 95.37 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.5392, allocations: 7.875 kB / 0.7669 GB, free: 95.37 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5392, allocations: 0 / 0.7669 GB, free: 95.37 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00172/0.5409, allocations: 0.9561 MB / 0.7678 GB, free: 94.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003905/0.5448, allocations: 2.624 MB / 0.7704 GB, free: 93.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.5448, allocations: 0 / 0.7704 GB, free: 93.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006527/0.5455, allocations: 148 kB / 0.7705 GB, free: 93.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001532/0.5457, allocations: 28.44 kB / 0.7706 GB, free: 93.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.793e-05/0.5457, allocations: 23.84 kB / 0.7706 GB, free: 93.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000678/0.5464, allocations: 1.423 MB / 0.772 GB, free: 92.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5464, allocations: 0 / 0.772 GB, free: 92.24 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/0.5491, allocations: 1.571 MB / 0.7735 GB, free: 91.37 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004523/0.5495, allocations: 400.8 kB / 0.7739 GB, free: 91.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000235/0.5498, allocations: 23.81 kB / 0.7739 GB, free: 91.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008803/0.5507, allocations: 67.48 kB / 0.774 GB, free: 90.99 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.74e-05/0.5508, allocations: 53.12 kB / 0.774 GB, free: 90.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-05/0.5508, allocations: 27.7 kB / 0.7741 GB, free: 90.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001542/0.5524, allocations: 1.479 MB / 0.7755 GB, free: 90.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5524, allocations: 0 / 0.7755 GB, free: 90.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002114/0.5545, allocations: 1.028 MB / 0.7765 GB, free: 89.97 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.001547/0.5561, allocations: 0.8629 MB / 0.7774 GB, free: 89.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003417/0.5595, allocations: 2.098 MB / 0.7794 GB, free: 87.95 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.5595, allocations: 0 / 0.7794 GB, free: 87.95 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009792/0.5605, allocations: 0.5475 MB / 0.7799 GB, free: 87.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003177/0.5637, allocations: 0.975 MB / 0.7809 GB, free: 86.47 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004356/0.568, allocations: 3.6 MB / 0.7844 GB, free: 82.85 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006867/0.5688, allocations: 1.546 MB / 0.7859 GB, free: 81.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001416/0.5702, allocations: 0.5112 MB / 0.7864 GB, free: 80.79 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/0.5705, allocations: 172.1 kB / 0.7866 GB, free: 80.62 MB / 0.5762 GB Notification: Performance of SimCode: time 1.222e-06/0.5706, allocations: 4 kB / 0.7866 GB, free: 80.61 MB / 0.5762 GB Notification: Performance of Templates: time 0.046/0.6166, allocations: 39.57 MB / 0.8252 GB, free: 41.53 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)