Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, 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.001318/0.001318, 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.429/1.429, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8385/0.8385, allocations: 128.4 MB / 426.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 65.89 kB / 0.5912 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1699, allocations: 83.26 MB / 0.6725 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7434/0.9132, allocations: 303.1 MB / 0.9685 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.08709/1, allocations: 50.12 MB / 1.017 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01558/1.016, allocations: 294.3 kB / 1.018 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0135/1.029, allocations: 3.56 MB / 1.021 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.03418/1.064, allocations: 9.451 MB / 1.03 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.02127/1.085, allocations: 6.763 MB / 1.037 GB, free: 12.55 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.03419/1.119, allocations: 18.49 MB / 1.055 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01238/1.131, allocations: 4.858 MB / 1.06 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5064/1.638, allocations: 7.965 MB / 1.068 GB, free: 51.85 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01408/1.652, allocations: 5.217 MB / 1.073 GB, free: 51.85 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.00472/1.657, allocations: 0.5672 MB / 1.073 GB, free: 51.85 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01813/1.675, allocations: 4.472 MB / 1.078 GB, free: 51.85 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.005149/1.68, allocations: 1.576 MB / 1.079 GB, free: 51.85 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.01492/1.695, allocations: 3.747 MB / 1.083 GB, free: 51.08 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.03102/1.726, allocations: 10.5 MB / 1.093 GB, free: 49.57 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/1.726, allocations: 0 / 1.093 GB, free: 49.57 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.104e-06/1.726, allocations: 1.688 kB / 1.093 GB, free: 49.57 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003983/1.726, allocations: 3.281 kB / 1.093 GB, free: 49.57 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02375/1.75, allocations: 7.709 MB / 1.101 GB, free: 46 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.75, allocations: 6.375 kB / 1.101 GB, free: 46 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004173/1.754, allocations: 0.8235 MB / 1.101 GB, free: 45.6 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01365/1.768, allocations: 5.427 MB / 1.107 GB, free: 44.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003002/1.768, allocations: 320.5 kB / 1.107 GB, free: 44.42 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001224/1.769, allocations: 431.1 kB / 1.107 GB, free: 44.42 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008909/1.778, allocations: 4.372 MB / 1.112 GB, free: 43.62 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/1.778, allocations: 12.97 kB / 1.112 GB, free: 43.62 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004872/1.779, allocations: 182.5 kB / 1.112 GB, free: 43.61 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/1.779, allocations: 122.8 kB / 1.112 GB, free: 43.61 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005394/1.784, allocations: 2.959 MB / 1.115 GB, free: 43.58 MB / 0.8106 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.02965/1.814, allocations: 25.33 MB / 1.14 GB, free: 27.51 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002759/1.817, allocations: 2.59 MB / 1.142 GB, free: 26.34 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/1.818, allocations: 0.8867 MB / 1.143 GB, free: 26.32 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002145/1.82, allocations: 3.901 MB / 1.147 GB, free: 21.91 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/1.82, allocations: 72.19 kB / 1.147 GB, free: 21.86 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=217): time 3.767e-06/1.82, allocations: 3 kB / 1.147 GB, free: 21.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=217): time 0.0107/1.831, allocations: 4.075 MB / 1.151 GB, free: 20.98 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/1.831, allocations: 77.94 kB / 1.151 GB, free: 20.92 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007566/1.839, allocations: 4.301 MB / 1.155 GB, free: 20.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0007982/1.839, allocations: 77.52 kB / 1.155 GB, free: 20.54 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.00195/1.841, allocations: 2.828 MB / 1.158 GB, free: 19.62 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001184/1.843, allocations: 0.8001 MB / 1.159 GB, free: 19.1 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008059/1.843, allocations: 0.5743 MB / 1.159 GB, free: 19.05 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 4.612e-05/1.843, allocations: 301.1 kB / 1.16 GB, free: 18.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/1.845, allocations: 0.8242 MB / 1.16 GB, free: 18.73 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/1.847, allocations: 1.815 MB / 1.162 GB, free: 17.56 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0033/1.85, allocations: 2.509 MB / 1.165 GB, free: 16.69 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-05/1.85, allocations: 8.031 kB / 1.165 GB, free: 16.69 MB / 0.8106 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008384/1.859, allocations: 3.568 MB / 1.168 GB, free: 16.17 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/1.859, allocations: 22.59 kB / 1.168 GB, free: 16.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-05/1.859, allocations: 19.22 kB / 1.168 GB, free: 16.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002519/1.861, allocations: 0.5942 MB / 1.169 GB, free: 16.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/1.863, allocations: 0.5543 MB / 1.169 GB, free: 16.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/1.865, allocations: 2.69 MB / 1.172 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004488/1.869, allocations: 327.5 kB / 1.172 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004702/1.87, allocations: 138 kB / 1.172 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003636/1.873, allocations: 1.563 MB / 1.174 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001974/1.875, allocations: 1.796 MB / 1.176 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00304/1.878, allocations: 2.463 MB / 1.178 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.283e-05/1.878, allocations: 5.438 kB / 1.178 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006874/1.885, allocations: 3.325 MB / 1.181 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/1.885, allocations: 16.31 kB / 1.181 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/1.885, allocations: 20.5 kB / 1.181 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008809/1.886, allocations: 372 kB / 1.182 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/1.888, allocations: 0.5563 MB / 1.182 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006264/1.894, allocations: 8.473 MB / 1.191 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004661/1.899, allocations: 302.6 kB / 1.191 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004402/1.899, allocations: 139.6 kB / 1.191 GB, free: 4.785 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0008511/1.9, allocations: 364.6 kB / 1.191 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001701/1.902, allocations: 0.5263 MB / 1.192 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005885/1.908, allocations: 3.542 MB / 1.195 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.804e-05/1.908, allocations: 36.23 kB / 1.195 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.908, allocations: 3.938 kB / 1.195 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003338/1.911, allocations: 2.422 MB / 1.198 GB, free: 3.672 MB / 0.8106 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 postOpt removeSimpleEquations (simulation): time 0.01479/1.926, allocations: 8.196 MB / 1.206 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/1.926, allocations: 0 / 1.206 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/1.927, allocations: 366.7 kB / 1.206 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00062/1.928, allocations: 303.2 kB / 1.206 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/1.928, allocations: 67.53 kB / 1.206 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/1.929, allocations: 2.491 MB / 1.209 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.929, allocations: 0 / 1.209 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008553/1.938, allocations: 4.356 MB / 1.213 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003221/1.941, allocations: 0.9068 MB / 1.214 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/1.942, allocations: 43.5 kB / 1.214 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002514/1.944, allocations: 124.1 kB / 1.214 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002861/1.945, allocations: 155 kB / 1.214 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002528/1.945, allocations: 105.5 kB / 1.214 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.005671/1.951, allocations: 2.849 MB / 1.217 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/1.951, allocations: 0 / 1.217 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.01554/1.966, allocations: 3.276 MB / 1.22 GB, free: 6.406 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004849/1.971, allocations: 1.521 MB / 1.222 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.009573/1.981, allocations: 4.149 MB / 1.226 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.981, allocations: 4 kB / 1.226 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002442/1.983, allocations: 1.115 MB / 1.227 GB, free: 312 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01458/1.998, allocations: 2.63 MB / 1.23 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/2.016, allocations: 9.215 MB / 1.239 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003133/2.02, allocations: 2.873 MB / 1.241 GB, free: 1.66 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.005487/2.025, allocations: 1.154 MB / 1.243 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/2.026, allocations: 417.3 kB / 1.243 GB, free: 116 kB / 0.8419 GB Notification: Performance of SimCode: time 2.465e-06/2.026, allocations: 4 kB / 1.243 GB, free: 112 kB / 0.8419 GB Notification: Performance of Templates: time 0.2018/2.228, allocations: 106.7 MB / 1.347 GB, free: 7.223 MB / 0.9512 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) [Timeout 480]