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.001599/0.001599, allocations: 103.3 kB / 16.4 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.001806/0.001806, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.361/1.361, 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.7194/0.7194, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 70.77 kB / 0.5577 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1268, allocations: 76.18 MB / 0.6321 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.05169/0.1785, allocations: 53.68 MB / 0.6845 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02652/0.2051, allocations: 16.99 MB / 0.7011 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003252/0.2084, allocations: 91.5 kB / 0.7012 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005416/0.2138, allocations: 1.922 MB / 0.7031 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006963/0.2208, allocations: 2.51 MB / 0.7055 GB, free: 8.93 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005676/0.2265, allocations: 2.353 MB / 0.7078 GB, free: 6.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01125/0.2378, allocations: 7.54 MB / 0.7152 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002784/0.2406, allocations: 1.662 MB / 0.7168 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00436/0.245, allocations: 1.977 MB / 0.7187 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002587/0.2476, allocations: 1.431 MB / 0.7201 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004471/0.248, allocations: 176 kB / 0.7203 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004075/0.2521, allocations: 2.016 MB / 0.7223 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008002/0.2529, allocations: 0.6657 MB / 0.7229 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001681/0.2546, allocations: 1.224 MB / 0.7241 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00667/0.2613, allocations: 3.93 MB / 0.728 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2613, allocations: 0 / 0.728 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2614, allocations: 0 / 0.728 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.006e-05/0.2614, allocations: 0 / 0.728 GB, free: 1.891 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.00635/0.2678, allocations: 2.94 MB / 0.7308 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.2678, allocations: 12.03 kB / 0.7308 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/0.2704, allocations: 0.5472 MB / 0.7314 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005063/0.2755, allocations: 2.731 MB / 0.734 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.2756, allocations: 102.2 kB / 0.7341 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/0.2759, allocations: 120 kB / 0.7343 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/0.2786, allocations: 1.356 MB / 0.7356 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/0.2786, allocations: 7.922 kB / 0.7356 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.2788, allocations: 52 kB / 0.7356 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.226e-05/0.2788, allocations: 42.08 kB / 0.7357 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002734/0.2816, allocations: 1.097 MB / 0.7367 GB, free: 8.625 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.01012/0.2917, allocations: 7.46 MB / 0.744 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2891/0.5808, allocations: 1.329 MB / 0.7453 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.582, allocations: 431.9 kB / 0.7457 GB, free: 106 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005612/0.5876, allocations: 3.157 MB / 0.7488 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.5887, allocations: 429.4 kB / 0.7492 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=59): time 2.575e-06/0.5887, allocations: 3.844 kB / 0.7492 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59): time 0.003287/0.592, allocations: 1.238 MB / 0.7504 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.5921, allocations: 64.7 kB / 0.7505 GB, free: 103.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003199/0.5953, allocations: 2.127 MB / 0.7526 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.5954, allocations: 39.89 kB / 0.7526 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007299/0.5961, allocations: 1.025 MB / 0.7536 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.5963, allocations: 217.1 kB / 0.7538 GB, free: 101.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004589/0.5968, allocations: 317.4 kB / 0.7541 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.771e-05/0.5968, allocations: 301.1 kB / 0.7544 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.598, allocations: 0.55 MB / 0.755 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.5993, allocations: 0.9942 MB / 0.7559 GB, free: 100.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002258/0.6015, allocations: 1.453 MB / 0.7573 GB, free: 99.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.6016, allocations: 3.781 kB / 0.7574 GB, free: 99.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003918/0.6055, allocations: 1.763 MB / 0.7591 GB, free: 99.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.704e-05/0.6056, allocations: 41.58 kB / 0.7591 GB, free: 99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.6056, allocations: 11.88 kB / 0.7591 GB, free: 99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.964e-05/0.6056, allocations: 19 kB / 0.7591 GB, free: 99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.6068, allocations: 313 kB / 0.7594 GB, free: 98.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.759e-05/0.6068, allocations: 25.16 kB / 0.7595 GB, free: 98.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.6084, allocations: 183.2 kB / 0.7596 GB, free: 98.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.6085, allocations: 63.64 kB / 0.7597 GB, free: 98.87 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002068/0.6106, allocations: 0.9686 MB / 0.7606 GB, free: 98.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001545/0.6121, allocations: 0.9916 MB / 0.7616 GB, free: 97.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002304/0.6144, allocations: 1.45 MB / 0.763 GB, free: 96.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.987e-06/0.6145, allocations: 7.688 kB / 0.763 GB, free: 96.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003455/0.6179, allocations: 1.769 MB / 0.7648 GB, free: 96.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.618, allocations: 38.39 kB / 0.7648 GB, free: 96.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.618, allocations: 12.47 kB / 0.7648 GB, free: 96.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.618, allocations: 19.03 kB / 0.7648 GB, free: 96.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.6191, allocations: 308.7 kB / 0.7651 GB, free: 96.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/0.6191, allocations: 26.83 kB / 0.7652 GB, free: 96.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.6206, allocations: 157 kB / 0.7653 GB, free: 96.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.6207, allocations: 64.55 kB / 0.7654 GB, free: 96.01 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.0003387/0.6211, allocations: 259.1 kB / 0.7656 GB, free: 95.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003106/0.6214, allocations: 196.5 kB / 0.7658 GB, free: 95.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002571/0.624, allocations: 1.127 MB / 0.7669 GB, free: 95.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.624, allocations: 11.89 kB / 0.7669 GB, free: 95.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.624, allocations: 0 / 0.7669 GB, free: 95.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001821/0.6258, allocations: 0.9588 MB / 0.7678 GB, free: 94.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004425/0.6303, allocations: 2.617 MB / 0.7704 GB, free: 93.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6303, allocations: 0 / 0.7704 GB, free: 93.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007017/0.631, allocations: 149.6 kB / 0.7705 GB, free: 93.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001402/0.6311, allocations: 24.69 kB / 0.7706 GB, free: 93.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.241e-05/0.6312, allocations: 26.67 kB / 0.7706 GB, free: 93.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007268/0.6319, allocations: 1.424 MB / 0.772 GB, free: 92.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6319, allocations: 4.156 kB / 0.772 GB, free: 92.15 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00291/0.6349, allocations: 1.564 MB / 0.7735 GB, free: 91.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006921/0.6356, allocations: 400.9 kB / 0.7739 GB, free: 90.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/0.6358, allocations: 23 kB / 0.7739 GB, free: 90.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009071/0.6367, allocations: 70.73 kB / 0.774 GB, free: 90.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.6368, allocations: 48.16 kB / 0.774 GB, free: 90.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.226e-05/0.6369, allocations: 35.41 kB / 0.7741 GB, free: 90.87 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001731/0.6386, allocations: 1.479 MB / 0.7755 GB, free: 90.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6387, allocations: 0 / 0.7755 GB, free: 90.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002407/0.6411, allocations: 1.027 MB / 0.7765 GB, free: 89.89 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.001779/0.6429, allocations: 0.8675 MB / 0.7774 GB, free: 89.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003994/0.6469, allocations: 2.094 MB / 0.7794 GB, free: 87.87 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.6469, allocations: 1.812 kB / 0.7794 GB, free: 87.87 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.648, allocations: 0.5438 MB / 0.7799 GB, free: 87.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003683/0.6517, allocations: 0.9646 MB / 0.7809 GB, free: 86.39 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004814/0.6565, allocations: 3.61 MB / 0.7844 GB, free: 82.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007491/0.6572, allocations: 1.541 MB / 0.7859 GB, free: 81.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001515/0.6588, allocations: 0.5267 MB / 0.7864 GB, free: 80.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.6591, allocations: 179.3 kB / 0.7866 GB, free: 80.52 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.6592, allocations: 0 / 0.7866 GB, free: 80.52 MB / 0.5762 GB Notification: Performance of Templates: time 0.05/0.7092, allocations: 40.17 MB / 0.8258 GB, free: 40.84 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)