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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 112.6 kB / 17.33 MB, free: 5.027 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.001964/0.001964, allocations: 201.8 kB / 18.33 MB, free: 4.035 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.466/1.466, allocations: 225.6 MB / 244.8 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8581/0.8581, allocations: 128.4 MB / 426.1 MB, free: 7.195 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 64.84 kB / 0.5912 GB, free: 21.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1691, allocations: 83.26 MB / 0.6725 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.06793/0.237, allocations: 54.14 MB / 0.7254 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02941/0.2664, allocations: 17.06 MB / 0.742 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003113/0.2695, allocations: 87.5 kB / 0.7421 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00635/0.2759, allocations: 1.957 MB / 0.744 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008658/0.2845, allocations: 2.602 MB / 0.7466 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007222/0.2917, allocations: 2.383 MB / 0.7489 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3664/0.6582, allocations: 7.336 MB / 0.7561 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003401/0.6616, allocations: 1.401 MB / 0.7574 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006641/0.6682, allocations: 2.097 MB / 0.7595 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003897/0.6721, allocations: 1.464 MB / 0.7609 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001059/0.6732, allocations: 176.4 kB / 0.7611 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006508/0.6797, allocations: 2.05 MB / 0.7631 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001867/0.6816, allocations: 0.6684 MB / 0.7637 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00349/0.685, allocations: 1.211 MB / 0.7649 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009793/0.6948, allocations: 3.923 MB / 0.7687 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.6948, allocations: 3.812 kB / 0.7687 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6948, allocations: 0 / 0.7687 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001102/0.695, allocations: 0 / 0.7687 GB, free: 7.48 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.006956/0.7019, allocations: 3.017 MB / 0.7717 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.702, allocations: 9.219 kB / 0.7717 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002983/0.7049, allocations: 0.5569 MB / 0.7722 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00513/0.7101, allocations: 2.726 MB / 0.7749 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.548e-05/0.7102, allocations: 98.27 kB / 0.775 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002268/0.7104, allocations: 120.3 kB / 0.7751 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/0.7132, allocations: 1.371 MB / 0.7764 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.633e-05/0.7132, allocations: 4.531 kB / 0.7765 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.7133, allocations: 46.91 kB / 0.7765 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/0.7134, allocations: 29.28 kB / 0.7765 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002715/0.7161, allocations: 1.098 MB / 0.7776 GB, free: 4.844 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.009623/0.7257, allocations: 7.462 MB / 0.7849 GB, free: 432 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/0.7283, allocations: 1.339 MB / 0.7862 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00099/0.7292, allocations: 401.9 kB / 0.7866 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005903/0.7351, allocations: 3.049 MB / 0.7896 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.7362, allocations: 429.5 kB / 0.79 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.976e-06/0.7362, allocations: 0 / 0.79 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.003729/0.7399, allocations: 1.275 MB / 0.7912 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.74, allocations: 60.44 kB / 0.7913 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004014/0.744, allocations: 2.113 MB / 0.7933 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002554/0.7442, allocations: 41.58 kB / 0.7934 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009822/0.7452, allocations: 1.027 MB / 0.7944 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003059/0.7455, allocations: 221.4 kB / 0.7946 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004429/0.746, allocations: 310.7 kB / 0.7949 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.7461, allocations: 306.3 kB / 0.7952 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.7473, allocations: 0.5471 MB / 0.7957 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.7489, allocations: 0.9902 MB / 0.7967 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/0.7514, allocations: 1.447 MB / 0.7981 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.7514, allocations: 2.938 kB / 0.7981 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003965/0.7554, allocations: 1.761 MB / 0.7998 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.187e-05/0.7555, allocations: 45.91 kB / 0.7998 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.869e-05/0.7555, allocations: 13.19 kB / 0.7999 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.164e-05/0.7555, allocations: 22.64 kB / 0.7999 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.7568, allocations: 303.7 kB / 0.8002 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-05/0.7568, allocations: 27.28 kB / 0.8002 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.7589, allocations: 191.4 kB / 0.8004 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.759, allocations: 62.95 kB / 0.8004 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002095/0.7611, allocations: 0.9618 MB / 0.8014 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001548/0.7627, allocations: 0.9926 MB / 0.8024 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002579/0.7653, allocations: 1.447 MB / 0.8038 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.085e-06/0.7653, allocations: 2.438 kB / 0.8038 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of matching and sorting (n=185) (initialization_lambda0): time 0.003971/0.7692, allocations: 1.764 MB / 0.8055 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.171e-05/0.7693, allocations: 37.02 kB / 0.8055 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.7693, allocations: 11.81 kB / 0.8055 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.7693, allocations: 17.81 kB / 0.8056 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.7705, allocations: 312.5 kB / 0.8058 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-05/0.7705, allocations: 28.47 kB / 0.8059 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002245/0.7728, allocations: 166 kB / 0.806 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/0.773, allocations: 57.11 kB / 0.8061 GB, free: 8.633 MB / 0.5919 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 (151): * Single equations (assignments): 148 * 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.0005193/0.7735, allocations: 256.1 kB / 0.8063 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008499/0.7743, allocations: 204.8 kB / 0.8065 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003395/0.7777, allocations: 1.142 MB / 0.8076 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/0.7777, allocations: 12.06 kB / 0.8077 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.7777, allocations: 3.938 kB / 0.8077 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002135/0.7799, allocations: 0.9632 MB / 0.8086 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006914/0.7868, allocations: 2.572 MB / 0.8111 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/0.7868, allocations: 6.188 kB / 0.8111 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007537/0.7876, allocations: 151.7 kB / 0.8113 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002109/0.7878, allocations: 34.53 kB / 0.8113 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-05/0.7878, allocations: 18.2 kB / 0.8113 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/0.7893, allocations: 1.476 MB / 0.8128 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7894, allocations: 3.594 kB / 0.8128 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/0.7933, allocations: 1.57 MB / 0.8143 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/0.7946, allocations: 404.9 kB / 0.8147 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006575/0.7952, allocations: 18.97 kB / 0.8147 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.7967, allocations: 76.61 kB / 0.8148 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.7968, allocations: 53.77 kB / 0.8148 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.737e-05/0.7969, allocations: 27.98 kB / 0.8148 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003086/0.8, allocations: 1.463 MB / 0.8163 GB, free: 2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8, allocations: 4 kB / 0.8163 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004724/0.8047, allocations: 1.033 MB / 0.8173 GB, free: 1.77 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (vol.dynBal.U,mov.motSpe.y,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 (66): * Single equations (assignments): 57 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003349/0.8081, allocations: 0.8648 MB / 0.8181 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004613/0.8127, allocations: 1.957 MB / 0.82 GB, free: 292 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.8127, allocations: 0 / 0.82 GB, free: 292 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001426/0.8141, allocations: 0.524 MB / 0.8206 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004787/0.8189, allocations: 0.972 MB / 0.8215 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007591/0.8265, allocations: 3.663 MB / 0.8251 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/0.8279, allocations: 1.531 MB / 0.8266 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002005/0.8299, allocations: 0.5039 MB / 0.8271 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004574/0.8304, allocations: 170.6 kB / 0.8272 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of SimCode: time 9.82e-07/0.8304, allocations: 0 / 0.8272 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of Templates: time 0.08002/0.9104, allocations: 39.89 MB / 0.8662 GB, free: 1.668 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile [Timeout 660] (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) [Timeout 480]