Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_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.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 111 kB / 17.33 MB, free: 5.043 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.001347/0.001347, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.443/1.443, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8673/0.8673, allocations: 128.4 MB / 426.1 MB, free: 7.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 68.27 kB / 0.5912 GB, free: 21.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1645, allocations: 83.26 MB / 0.6725 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.06699/0.2315, allocations: 54.15 MB / 0.7254 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03039/0.2619, allocations: 17.06 MB / 0.742 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003288/0.2651, allocations: 95.5 kB / 0.7421 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006597/0.2717, allocations: 1.941 MB / 0.744 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008814/0.2806, allocations: 2.625 MB / 0.7466 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007/0.2876, allocations: 2.379 MB / 0.7489 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3643/0.6519, allocations: 7.336 MB / 0.7561 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002837/0.6547, allocations: 1.402 MB / 0.7574 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005774/0.6605, allocations: 2.092 MB / 0.7595 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003765/0.6643, allocations: 1.458 MB / 0.7609 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006825/0.665, allocations: 176.7 kB / 0.7611 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005938/0.6709, allocations: 2.056 MB / 0.7631 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001507/0.6724, allocations: 0.6658 MB / 0.7637 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00341/0.6758, allocations: 1.218 MB / 0.7649 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01024/0.6861, allocations: 3.919 MB / 0.7687 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.6861, allocations: 0 / 0.7687 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6861, allocations: 1.312 kB / 0.7687 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001437/0.6862, allocations: 0 / 0.7687 GB, free: 7.441 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.009763/0.696, allocations: 3.018 MB / 0.7717 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.696, allocations: 9.844 kB / 0.7717 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003655/0.6997, allocations: 0.5594 MB / 0.7722 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007289/0.707, allocations: 2.725 MB / 0.7749 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.7071, allocations: 100 kB / 0.775 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000638/0.7078, allocations: 122.5 kB / 0.7751 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004062/0.7118, allocations: 1.362 MB / 0.7764 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.958e-05/0.7119, allocations: 5.375 kB / 0.7765 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002373/0.7121, allocations: 45.75 kB / 0.7765 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.328e-05/0.7122, allocations: 35.41 kB / 0.7765 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003272/0.7155, allocations: 1.095 MB / 0.7776 GB, free: 4.797 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.01188/0.7273, allocations: 7.467 MB / 0.7849 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/0.7303, allocations: 1.335 MB / 0.7862 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.7314, allocations: 397.8 kB / 0.7866 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006716/0.7381, allocations: 3.048 MB / 0.7895 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/0.7392, allocations: 435 kB / 0.79 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.745e-06/0.7392, allocations: 0 / 0.79 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.003962/0.7432, allocations: 1.27 MB / 0.7912 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.7432, allocations: 57.47 kB / 0.7913 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005134/0.7484, allocations: 2.118 MB / 0.7933 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002505/0.7486, allocations: 42.92 kB / 0.7934 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.7498, allocations: 1.027 MB / 0.7944 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/0.7502, allocations: 219.6 kB / 0.7946 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004967/0.7507, allocations: 304.8 kB / 0.7949 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.7508, allocations: 304.9 kB / 0.7952 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.7519, allocations: 0.5545 MB / 0.7957 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.7534, allocations: 0.9906 MB / 0.7967 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/0.7559, allocations: 1.44 MB / 0.7981 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/0.7559, allocations: 6.656 kB / 0.7981 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003868/0.7597, allocations: 1.769 MB / 0.7998 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/0.7598, allocations: 38.92 kB / 0.7998 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/0.7598, allocations: 12.81 kB / 0.7999 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.062e-05/0.7599, allocations: 24.53 kB / 0.7999 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.7609, allocations: 299.4 kB / 0.8002 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.9e-05/0.761, allocations: 35.98 kB / 0.8002 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/0.763, allocations: 192.5 kB / 0.8004 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.7632, allocations: 61.52 kB / 0.8004 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002086/0.7652, allocations: 0.9645 MB / 0.8014 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001495/0.7667, allocations: 0.9859 MB / 0.8024 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002479/0.7692, allocations: 1.455 MB / 0.8038 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.262e-06/0.7692, allocations: 2.5 kB / 0.8038 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of matching and sorting (n=185) (initialization_lambda0): time 0.003867/0.7731, allocations: 1.765 MB / 0.8055 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.964e-05/0.7731, allocations: 39.23 kB / 0.8055 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.7732, allocations: 12 kB / 0.8055 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.7732, allocations: 18.38 kB / 0.8056 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.7742, allocations: 311.9 kB / 0.8059 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.299e-05/0.7743, allocations: 23.84 kB / 0.8059 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/0.7762, allocations: 163.7 kB / 0.806 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.7764, allocations: 64.17 kB / 0.8061 GB, free: 8.547 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.0004845/0.7768, allocations: 251.8 kB / 0.8063 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005299/0.7774, allocations: 207.4 kB / 0.8065 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/0.7803, allocations: 1.136 MB / 0.8076 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.7803, allocations: 9.406 kB / 0.8077 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.7804, allocations: 1.75 kB / 0.8077 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002062/0.7824, allocations: 0.9651 MB / 0.8086 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005847/0.7883, allocations: 2.574 MB / 0.8111 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.7883, allocations: 3.938 kB / 0.8111 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007399/0.789, allocations: 146.9 kB / 0.8113 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001936/0.7892, allocations: 33.83 kB / 0.8113 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.827e-05/0.7893, allocations: 18.27 kB / 0.8113 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.7907, allocations: 1.487 MB / 0.8128 GB, free: 4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7907, allocations: 0 / 0.8128 GB, free: 4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003883/0.7945, allocations: 1.569 MB / 0.8143 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.7957, allocations: 404.8 kB / 0.8147 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003366/0.7961, allocations: 18.73 kB / 0.8147 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.7971, allocations: 73.7 kB / 0.8148 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.7972, allocations: 55.36 kB / 0.8148 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.307e-05/0.7973, allocations: 31.47 kB / 0.8149 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002472/0.7998, allocations: 1.467 MB / 0.8163 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.7998, allocations: 0 / 0.8163 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003571/0.8033, allocations: 1.035 MB / 0.8173 GB, free: 1.695 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,coo.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.002823/0.8062, allocations: 0.8669 MB / 0.8181 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004584/0.8107, allocations: 1.958 MB / 0.8201 GB, free: 204 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.8107, allocations: 0 / 0.8201 GB, free: 204 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.8121, allocations: 0.528 MB / 0.8206 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004594/0.8167, allocations: 0.9615 MB / 0.8215 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007397/0.8241, allocations: 3.663 MB / 0.8251 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/0.8256, allocations: 1.538 MB / 0.8266 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002246/0.8278, allocations: 0.5007 MB / 0.8271 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005007/0.8283, allocations: 170.5 kB / 0.8272 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of SimCode: time 9.62e-07/0.8283, allocations: 0 / 0.8272 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of Templates: time 0.0785/0.9068, allocations: 39.88 MB / 0.8662 GB, free: 1.59 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) [Timeout 480]