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.001187/0.001187, allocations: 114 kB / 17.08 MB, free: 5.965 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.001197/0.001197, allocations: 193.9 kB / 18.01 MB, free: 5.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.33/1.33, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7632/0.7632, allocations: 115.3 MB / 407.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 67.3 kB / 0.5584 GB, free: 32.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1978, allocations: 76.19 MB / 0.6328 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7989/0.9967, allocations: 300.4 MB / 0.9261 GB, free: 12.26 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.07499/1.072, allocations: 50.03 MB / 0.975 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01311/1.085, allocations: 294.2 kB / 0.9752 GB, free: 9.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01173/1.097, allocations: 3.423 MB / 0.9786 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02923/1.126, allocations: 9.037 MB / 0.9874 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01873/1.145, allocations: 6.645 MB / 0.9939 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.02707/1.172, allocations: 18.5 MB / 1.012 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0125/1.184, allocations: 5.835 MB / 1.018 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01886/1.203, allocations: 7.542 MB / 1.025 GB, free: 6.664 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009701/1.213, allocations: 5.087 MB / 1.03 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.003022/1.216, allocations: 0.5664 MB / 1.031 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01344/1.23, allocations: 4.379 MB / 1.035 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003236/1.233, allocations: 1.506 MB / 1.036 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.009264/1.242, allocations: 3.744 MB / 1.04 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.5172/1.759, allocations: 10.43 MB / 1.05 GB, free: 64.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/1.759, allocations: 3.125 kB / 1.05 GB, free: 64.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.575e-06/1.759, allocations: 1.156 kB / 1.05 GB, free: 64.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0004221/1.76, allocations: 0 / 1.05 GB, free: 64.23 MB / 0.7794 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.02091/1.781, allocations: 7.475 MB / 1.057 GB, free: 61.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/1.781, allocations: 9.062 kB / 1.057 GB, free: 61.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003671/1.784, allocations: 0.7805 MB / 1.058 GB, free: 60.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01296/1.797, allocations: 5.36 MB / 1.063 GB, free: 59.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00033/1.798, allocations: 321.4 kB / 1.064 GB, free: 59.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009957/1.799, allocations: 432.8 kB / 1.064 GB, free: 59.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008539/1.807, allocations: 4.389 MB / 1.068 GB, free: 58.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/1.808, allocations: 12.5 kB / 1.068 GB, free: 58.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004643/1.808, allocations: 176.4 kB / 1.069 GB, free: 58.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/1.808, allocations: 114.9 kB / 1.069 GB, free: 58.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005414/1.814, allocations: 2.963 MB / 1.072 GB, free: 58.91 MB / 0.7794 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.02852/1.842, allocations: 25.13 MB / 1.096 GB, free: 43.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003041/1.845, allocations: 2.755 MB / 1.099 GB, free: 41.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/1.847, allocations: 0.9942 MB / 1.1 GB, free: 41.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002136/1.849, allocations: 3.906 MB / 1.104 GB, free: 37.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.509e-05/1.849, allocations: 67.09 kB / 1.104 GB, free: 37.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=217): time 4.027e-06/1.849, allocations: 0 / 1.104 GB, free: 37.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=217): time 0.0105/1.859, allocations: 4.076 MB / 1.108 GB, free: 36.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/1.859, allocations: 81.47 kB / 1.108 GB, free: 36.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007536/1.867, allocations: 4.301 MB / 1.112 GB, free: 36.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0007493/1.868, allocations: 80.83 kB / 1.112 GB, free: 36.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002093/1.87, allocations: 2.774 MB / 1.115 GB, free: 35.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001018/1.871, allocations: 0.7641 MB / 1.115 GB, free: 34.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007694/1.872, allocations: 0.5764 MB / 1.116 GB, free: 34.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 4.431e-05/1.872, allocations: 301.1 kB / 1.116 GB, free: 34.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/1.873, allocations: 0.8195 MB / 1.117 GB, free: 34.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/1.875, allocations: 1.822 MB / 1.119 GB, free: 33.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003033/1.878, allocations: 2.513 MB / 1.121 GB, free: 32.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/1.878, allocations: 6.719 kB / 1.121 GB, free: 32.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007756/1.886, allocations: 3.546 MB / 1.125 GB, free: 31.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/1.886, allocations: 12.75 kB / 1.125 GB, free: 31.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/1.886, allocations: 21.44 kB / 1.125 GB, free: 31.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002259/1.888, allocations: 0.5802 MB / 1.125 GB, free: 31.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/1.89, allocations: 0.5538 MB / 1.126 GB, free: 31.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/1.892, allocations: 2.692 MB / 1.129 GB, free: 29.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004377/1.896, allocations: 323.4 kB / 1.129 GB, free: 29.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004182/1.896, allocations: 138.7 kB / 1.129 GB, free: 29.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003451/1.9, allocations: 1.57 MB / 1.131 GB, free: 29.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001912/1.902, allocations: 1.791 MB / 1.132 GB, free: 28.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002985/1.905, allocations: 2.47 MB / 1.135 GB, free: 27.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.184e-05/1.905, allocations: 6.875 kB / 1.135 GB, free: 27.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006739/1.912, allocations: 3.308 MB / 1.138 GB, free: 26.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/1.912, allocations: 14.97 kB / 1.138 GB, free: 26.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/1.912, allocations: 25.31 kB / 1.138 GB, free: 26.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008507/1.913, allocations: 366.1 kB / 1.138 GB, free: 26.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/1.914, allocations: 0.5504 MB / 1.139 GB, free: 26.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006162/1.92, allocations: 8.46 MB / 1.147 GB, free: 20.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004488/1.925, allocations: 301.9 kB / 1.147 GB, free: 20.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004205/1.925, allocations: 131.3 kB / 1.148 GB, free: 20.5 MB / 0.7794 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.0009446/1.926, allocations: 367.5 kB / 1.148 GB, free: 20.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001798/1.928, allocations: 0.5067 MB / 1.148 GB, free: 20.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005951/1.934, allocations: 3.554 MB / 1.152 GB, free: 19.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.322e-05/1.934, allocations: 37.8 kB / 1.152 GB, free: 19.65 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/1.934, allocations: 0 / 1.152 GB, free: 19.65 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00334/1.937, allocations: 2.432 MB / 1.154 GB, free: 19.41 MB / 0.7794 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.01366/1.951, allocations: 8.205 MB / 1.162 GB, free: 17.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.951, allocations: 4.094 kB / 1.162 GB, free: 17.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/1.952, allocations: 363.8 kB / 1.163 GB, free: 17.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006782/1.953, allocations: 301.8 kB / 1.163 GB, free: 17.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/1.953, allocations: 64.58 kB / 1.163 GB, free: 17.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/1.954, allocations: 2.495 MB / 1.165 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.954, allocations: 0 / 1.165 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007218/1.962, allocations: 4.34 MB / 1.17 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002841/1.964, allocations: 0.8845 MB / 1.171 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001105/1.966, allocations: 44.33 kB / 1.171 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002723/1.968, allocations: 119.2 kB / 1.171 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/1.969, allocations: 153.7 kB / 1.171 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002482/1.969, allocations: 109 kB / 1.171 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.004399/1.973, allocations: 2.847 MB / 1.174 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.523e-06/1.973, allocations: 0 / 1.174 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.01053/1.984, allocations: 3.245 MB / 1.177 GB, free: 10.66 MB / 0.7794 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.003287/1.987, allocations: 1.504 MB / 1.178 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006934/1.994, allocations: 4.426 MB / 1.183 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/1.994, allocations: 0 / 1.183 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/1.996, allocations: 1.235 MB / 1.184 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01243/2.008, allocations: 2.635 MB / 1.186 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/2.022, allocations: 9.117 MB / 1.195 GB, free: 12.34 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002419/2.025, allocations: 2.856 MB / 1.198 GB, free: 9.531 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001584/2.026, allocations: 438.5 kB / 1.199 GB, free: 9.133 MB / 0.795 GB Notification: Performance of SimCode: time 9.52e-07/2.026, allocations: 0 / 1.199 GB, free: 9.133 MB / 0.795 GB Notification: Performance of Templates: time 0.5665/2.593, allocations: 193.1 MB / 1.387 GB, free: 472.4 MB / 0.9669 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)