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) 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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 101.3 kB / 15.98 MB, free: 6.348 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.001782/0.001782, allocations: 196.9 kB / 16.91 MB, free: 6.188 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.451/1.451, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7621/0.7621, allocations: 122.9 MB / 413.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 56.09 kB / 0.4906 GB, free: 7.832 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3667, allocations: 77.93 MB / 0.5667 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6802/1.047, allocations: 297.5 MB / 0.8573 GB, free: 30.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.06046/1.107, allocations: 49.73 MB / 0.9059 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0135/1.121, allocations: 274.2 kB / 0.9061 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01247/1.134, allocations: 2.942 MB / 0.909 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.03002/1.164, allocations: 8.419 MB / 0.9172 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01921/1.183, allocations: 6.096 MB / 0.9232 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.03342/1.216, allocations: 18.59 MB / 0.9413 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01311/1.229, allocations: 5.767 MB / 0.947 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02037/1.25, allocations: 7.411 MB / 0.9542 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01065/1.261, allocations: 5.223 MB / 0.9593 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003278/1.264, allocations: 0.5625 MB / 0.9598 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01551/1.279, allocations: 4.445 MB / 0.9642 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004488/1.284, allocations: 1.518 MB / 0.9657 GB, free: 15.38 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01077/1.295, allocations: 3.74 MB / 0.9693 GB, free: 11.62 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02527/1.32, allocations: 10.37 MB / 0.9794 GB, free: 1.215 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.779e-06/1.32, allocations: 0 / 0.9794 GB, free: 1.215 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.375e-06/1.32, allocations: 0 / 0.9794 GB, free: 1.215 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005152/1.321, allocations: 0 / 0.9794 GB, free: 1.215 MB / 0.67 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.0212/1.342, allocations: 7.47 MB / 0.9867 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/1.342, allocations: 16.56 kB / 0.9868 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004142/1.346, allocations: 0.7881 MB / 0.9875 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01362/1.36, allocations: 5.209 MB / 0.9926 GB, free: 3.508 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004342/1.36, allocations: 320.1 kB / 0.9929 GB, free: 3.191 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001401/1.362, allocations: 435.9 kB / 0.9933 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01213/1.374, allocations: 4.385 MB / 0.9976 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001447/1.374, allocations: 11.94 kB / 0.9976 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006821/1.375, allocations: 176 kB / 0.9978 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/1.375, allocations: 123.9 kB / 0.9979 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006388/1.381, allocations: 2.957 MB / 1.001 GB, free: 10.84 MB / 0.7012 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.3801/1.761, allocations: 25.02 MB / 1.025 GB, free: 288.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003589/1.765, allocations: 2.769 MB / 1.028 GB, free: 287.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/1.766, allocations: 0.9935 MB / 1.029 GB, free: 287.7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002147/1.769, allocations: 3.909 MB / 1.033 GB, free: 283.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.497e-05/1.769, allocations: 63.66 kB / 1.033 GB, free: 283.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=217): time 5.27e-06/1.769, allocations: 0 / 1.033 GB, free: 283.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=217): time 0.01139/1.78, allocations: 4.062 MB / 1.037 GB, free: 281.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/1.78, allocations: 79.72 kB / 1.037 GB, free: 281.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007283/1.787, allocations: 4.226 MB / 1.041 GB, free: 280.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005414/1.788, allocations: 81.23 kB / 1.041 GB, free: 280.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002168/1.79, allocations: 2.799 MB / 1.044 GB, free: 278.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008875/1.791, allocations: 0.7574 MB / 1.045 GB, free: 278.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008698/1.792, allocations: 0.5692 MB / 1.045 GB, free: 277.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.839e-05/1.792, allocations: 310.5 kB / 1.045 GB, free: 277.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/1.793, allocations: 0.8233 MB / 1.046 GB, free: 277.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00192/1.795, allocations: 1.82 MB / 1.048 GB, free: 275.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003255/1.799, allocations: 2.516 MB / 1.05 GB, free: 274.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.798e-05/1.799, allocations: 7.125 kB / 1.05 GB, free: 274.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008036/1.807, allocations: 3.552 MB / 1.054 GB, free: 272.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/1.807, allocations: 13.56 kB / 1.054 GB, free: 272.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-05/1.807, allocations: 22 kB / 1.054 GB, free: 272.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002694/1.81, allocations: 0.5961 MB / 1.054 GB, free: 272.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/1.811, allocations: 0.5592 MB / 1.055 GB, free: 272.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/1.813, allocations: 2.68 MB / 1.058 GB, free: 270.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004736/1.818, allocations: 0.5973 MB / 1.058 GB, free: 269.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003762/1.818, allocations: 135.5 kB / 1.058 GB, free: 269.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002682/1.821, allocations: 1.567 MB / 1.06 GB, free: 269.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001618/1.823, allocations: 1.796 MB / 1.062 GB, free: 267.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002784/1.825, allocations: 2.46 MB / 1.064 GB, free: 265.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.147e-05/1.825, allocations: 15.83 kB / 1.064 GB, free: 265.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006447/1.832, allocations: 3.312 MB / 1.067 GB, free: 264.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/1.832, allocations: 16.78 kB / 1.067 GB, free: 264.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/1.832, allocations: 19.72 kB / 1.067 GB, free: 264.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009421/1.833, allocations: 380.5 kB / 1.068 GB, free: 264.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/1.835, allocations: 0.5494 MB / 1.068 GB, free: 264.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006789/1.841, allocations: 8.457 MB / 1.076 GB, free: 256.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004943/1.846, allocations: 0.5709 MB / 1.077 GB, free: 256.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000374/1.847, allocations: 129.8 kB / 1.077 GB, free: 256.8 MB / 0.7169 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.0007832/1.847, allocations: 373.5 kB / 1.078 GB, free: 256.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001421/1.849, allocations: 0.5063 MB / 1.078 GB, free: 256.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005536/1.854, allocations: 3.563 MB / 1.082 GB, free: 254.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-05/1.855, allocations: 41.72 kB / 1.082 GB, free: 254.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.855, allocations: 0 / 1.082 GB, free: 254.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003197/1.858, allocations: 2.437 MB / 1.084 GB, free: 252.9 MB / 0.7169 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.01246/1.87, allocations: 8.2 MB / 1.092 GB, free: 247.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/1.87, allocations: 4.906 kB / 1.092 GB, free: 247.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/1.871, allocations: 364.6 kB / 1.092 GB, free: 247.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006342/1.872, allocations: 312 kB / 1.093 GB, free: 246.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/1.872, allocations: 61.5 kB / 1.093 GB, free: 246.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/1.873, allocations: 2.495 MB / 1.095 GB, free: 244.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.873, allocations: 0 / 1.095 GB, free: 244.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00633/1.88, allocations: 4.338 MB / 1.099 GB, free: 239.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002238/1.882, allocations: 0.8805 MB / 1.1 GB, free: 238.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008548/1.883, allocations: 55.94 kB / 1.1 GB, free: 238.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003256/1.886, allocations: 417.3 kB / 1.101 GB, free: 238.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/1.886, allocations: 150.8 kB / 1.101 GB, free: 238.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001866/1.887, allocations: 111.9 kB / 1.101 GB, free: 238.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00372/1.89, allocations: 2.791 MB / 1.104 GB, free: 235.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.89, allocations: 0 / 1.104 GB, free: 235.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01072/1.901, allocations: 3.273 MB / 1.107 GB, free: 232.2 MB / 0.7169 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.002888/1.904, allocations: 1.457 MB / 1.108 GB, free: 231.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01072/1.915, allocations: 4.864 MB / 1.113 GB, free: 226.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.639e-06/1.915, allocations: 4 kB / 1.113 GB, free: 226.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00174/1.917, allocations: 1.24 MB / 1.114 GB, free: 225 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01181/1.928, allocations: 2.642 MB / 1.117 GB, free: 222.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/1.942, allocations: 11.41 MB / 1.128 GB, free: 211.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001823/1.944, allocations: 2.873 MB / 1.131 GB, free: 208.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004801/1.949, allocations: 1.158 MB / 1.132 GB, free: 207.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008998/1.95, allocations: 415.2 kB / 1.132 GB, free: 206.7 MB / 0.7169 GB Notification: Performance of SimCode: time 1.133e-06/1.95, allocations: 0 / 1.132 GB, free: 206.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.152/2.102, allocations: 106.3 MB / 1.236 GB, free: 101.6 MB / 0.7169 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (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)