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) [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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 112.8 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.001775/0.001775, 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.422/1.422, allocations: 225.6 MB / 244.8 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8234/0.8234, allocations: 128.4 MB / 426.1 MB, free: 7.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.7 kB / 0.5912 GB, free: 21.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.169, allocations: 83.27 MB / 0.6725 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.08392/0.2529, allocations: 68.01 MB / 0.7389 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3867/0.6396, allocations: 18.64 MB / 0.7571 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004533/0.6441, allocations: 97.91 kB / 0.7572 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006518/0.6506, allocations: 2.009 MB / 0.7592 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0105/0.6611, allocations: 2.959 MB / 0.7621 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007028/0.6682, allocations: 2.472 MB / 0.7645 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01485/0.683, allocations: 8.091 MB / 0.7724 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002917/0.6859, allocations: 1.602 MB / 0.7739 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005978/0.6919, allocations: 2.322 MB / 0.7762 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003313/0.6952, allocations: 1.598 MB / 0.7778 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005126/0.6957, allocations: 197.3 kB / 0.7779 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00495/0.7007, allocations: 2.182 MB / 0.7801 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008425/0.7015, allocations: 0.714 MB / 0.7808 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002114/0.7036, allocations: 1.316 MB / 0.7821 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008416/0.712, allocations: 4.233 MB / 0.7862 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.7121, allocations: 1.031 kB / 0.7862 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7121, allocations: 6.562 kB / 0.7862 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.23e-05/0.7121, allocations: 4 kB / 0.7862 GB, free: 9.68 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.006523/0.7187, allocations: 3.169 MB / 0.7893 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.7187, allocations: 13.25 kB / 0.7893 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002372/0.7211, allocations: 494.8 kB / 0.7898 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005216/0.7263, allocations: 2.877 MB / 0.7926 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.7264, allocations: 99.08 kB / 0.7927 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002948/0.7267, allocations: 130.6 kB / 0.7928 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/0.7294, allocations: 1.447 MB / 0.7942 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.7295, allocations: 2.625 kB / 0.7942 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.7296, allocations: 53.84 kB / 0.7943 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.353e-05/0.7296, allocations: 38.44 kB / 0.7943 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.7319, allocations: 1.115 MB / 0.7954 GB, free: 5.711 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.00952/0.7414, allocations: 7.757 MB / 0.803 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/0.7438, allocations: 1.274 MB / 0.8042 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009417/0.7448, allocations: 400 kB / 0.8046 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004517/0.7493, allocations: 2.392 MB / 0.8069 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/0.7504, allocations: 454.6 kB / 0.8074 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=64): time 2.204e-06/0.7504, allocations: 0 / 0.8074 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.003374/0.7538, allocations: 1.313 MB / 0.8087 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.7539, allocations: 61.91 kB / 0.8087 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003065/0.7569, allocations: 2.055 MB / 0.8107 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.757, allocations: 46.2 kB / 0.8108 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001201/0.7582, allocations: 1.033 MB / 0.8118 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.7585, allocations: 243.4 kB / 0.812 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004527/0.759, allocations: 309.9 kB / 0.8123 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.7591, allocations: 303.7 kB / 0.8126 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.7603, allocations: 0.5643 MB / 0.8131 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.762, allocations: 0.9546 MB / 0.8141 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002424/0.7644, allocations: 1.422 MB / 0.8155 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.7644, allocations: 2.031 kB / 0.8155 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003574/0.768, allocations: 1.772 MB / 0.8172 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.985e-05/0.768, allocations: 40.47 kB / 0.8172 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.768, allocations: 8.656 kB / 0.8172 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/0.7681, allocations: 20.12 kB / 0.8173 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.7692, allocations: 307.7 kB / 0.8176 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.694e-05/0.7692, allocations: 25.83 kB / 0.8176 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.7708, allocations: 178.8 kB / 0.8178 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.771, allocations: 56.05 kB / 0.8178 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002248/0.7732, allocations: 0.9873 MB / 0.8188 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001812/0.775, allocations: 0.9653 MB / 0.8197 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002649/0.7777, allocations: 1.423 MB / 0.8211 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.065e-06/0.7777, allocations: 4 kB / 0.8211 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of matching and sorting (n=187) (initialization_lambda0): time 0.003906/0.7816, allocations: 1.766 MB / 0.8228 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/0.7816, allocations: 37.7 kB / 0.8229 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.7816, allocations: 8 kB / 0.8229 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.7817, allocations: 16.09 kB / 0.8229 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.7828, allocations: 308.1 kB / 0.8232 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.581e-05/0.7829, allocations: 23.92 kB / 0.8232 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.7847, allocations: 159.2 kB / 0.8234 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.7848, allocations: 65.8 kB / 0.8234 GB, free: 15.09 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (153): * Single equations (assignments): 150 * 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.0005/0.7853, allocations: 251.9 kB / 0.8237 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005485/0.7859, allocations: 214.6 kB / 0.8239 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002964/0.7888, allocations: 1.129 MB / 0.825 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.7888, allocations: 11.98 kB / 0.825 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.7888, allocations: 7.938 kB / 0.825 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002031/0.7909, allocations: 0.8208 MB / 0.8258 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006138/0.797, allocations: 2.67 MB / 0.8284 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.797, allocations: 0 / 0.8284 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008403/0.7979, allocations: 167.8 kB / 0.8286 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001877/0.798, allocations: 32.78 kB / 0.8286 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-05/0.7981, allocations: 19.98 kB / 0.8286 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/0.7996, allocations: 1.477 MB / 0.8301 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7997, allocations: 0 / 0.8301 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004/0.8037, allocations: 1.603 MB / 0.8316 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/0.8049, allocations: 399.5 kB / 0.832 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003908/0.8053, allocations: 16 kB / 0.832 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.8064, allocations: 83.75 kB / 0.8321 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.8066, allocations: 52.58 kB / 0.8321 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.546e-05/0.8067, allocations: 35.97 kB / 0.8322 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002829/0.8095, allocations: 1.36 MB / 0.8335 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8095, allocations: 0 / 0.8335 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004163/0.8136, allocations: 1.13 MB / 0.8346 GB, free: 3.344 MB / 0.6075 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.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 (72): * Single equations (assignments): 64 * 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,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.001887/0.8155, allocations: 0.6744 MB / 0.8353 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004893/0.8204, allocations: 1.97 MB / 0.8372 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.8204, allocations: 0 / 0.8372 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/0.8219, allocations: 0.5376 MB / 0.8377 GB, free: 168 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004922/0.8268, allocations: 0.9964 MB / 0.8387 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007562/0.8343, allocations: 3.716 MB / 0.8423 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/0.8358, allocations: 1.558 MB / 0.8438 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002253/0.8381, allocations: 0.508 MB / 0.8443 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005305/0.8386, allocations: 163.4 kB / 0.8445 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of SimCode: time 9.22e-07/0.8386, allocations: 0 / 0.8445 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of Templates: time 0.07837/0.917, allocations: 40.46 MB / 0.884 GB, free: 1.281 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile [Timeout 660] (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) [Timeout 480]