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.001109/0.001109, allocations: 113.1 kB / 17.08 MB, free: 6.016 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.001194/0.001194, allocations: 199 kB / 18.02 MB, free: 5.094 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.347/1.347, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7469/0.7469, allocations: 115.3 MB / 407.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 65.28 kB / 0.5584 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1595, allocations: 76.19 MB / 0.6328 GB, free: 4.355 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6136/0.7732, allocations: 300.4 MB / 0.9261 GB, free: 12.23 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.06831/0.8415, allocations: 50.03 MB / 0.975 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0129/0.8545, allocations: 302.2 kB / 0.9752 GB, free: 9.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01028/0.8648, allocations: 3.423 MB / 0.9786 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02546/0.8903, allocations: 9.036 MB / 0.9874 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01723/0.9076, allocations: 6.648 MB / 0.9939 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.02591/0.9335, allocations: 18.49 MB / 1.012 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01117/0.9447, allocations: 5.834 MB / 1.018 GB, free: 14.17 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01791/0.9627, allocations: 7.552 MB / 1.025 GB, free: 6.625 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009801/0.9725, allocations: 5.091 MB / 1.03 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.002768/0.9753, allocations: 0.5664 MB / 1.031 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01311/0.9884, allocations: 4.379 MB / 1.035 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003048/0.9915, allocations: 1.506 MB / 1.036 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.008468/1, allocations: 3.744 MB / 1.04 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.5275/1.527, allocations: 10.42 MB / 1.05 GB, free: 64.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.528, allocations: 0 / 1.05 GB, free: 64.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.044e-06/1.528, allocations: 2.406 kB / 1.05 GB, free: 64.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002918/1.528, allocations: 0.9062 kB / 1.05 GB, free: 64.38 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.01564/1.543, allocations: 7.48 MB / 1.057 GB, free: 61.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/1.544, allocations: 12.44 kB / 1.057 GB, free: 61.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003015/1.547, allocations: 0.784 MB / 1.058 GB, free: 60.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01229/1.559, allocations: 5.355 MB / 1.063 GB, free: 59.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003715/1.559, allocations: 321.1 kB / 1.064 GB, free: 59.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00113/1.56, allocations: 434.6 kB / 1.064 GB, free: 59.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007576/1.568, allocations: 4.379 MB / 1.068 GB, free: 59.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.781e-05/1.568, allocations: 14.97 kB / 1.068 GB, free: 59.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000403/1.569, allocations: 175.7 kB / 1.069 GB, free: 59.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.777e-05/1.569, allocations: 123.1 kB / 1.069 GB, free: 59.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004791/1.573, allocations: 2.956 MB / 1.072 GB, free: 59.05 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.0231/1.597, allocations: 25.12 MB / 1.096 GB, free: 43.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00253/1.599, allocations: 2.759 MB / 1.099 GB, free: 42.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/1.6, allocations: 0.9909 MB / 1.1 GB, free: 42.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002064/1.602, allocations: 3.906 MB / 1.104 GB, free: 37.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/1.602, allocations: 67.44 kB / 1.104 GB, free: 37.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=217): time 4.108e-06/1.602, allocations: 2.438 kB / 1.104 GB, free: 37.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=217): time 0.009788/1.612, allocations: 4.069 MB / 1.108 GB, free: 36.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/1.612, allocations: 82.05 kB / 1.108 GB, free: 36.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006288/1.619, allocations: 4.297 MB / 1.112 GB, free: 36.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0006146/1.619, allocations: 81.64 kB / 1.112 GB, free: 36.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001864/1.621, allocations: 2.772 MB / 1.115 GB, free: 35.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008497/1.622, allocations: 0.7682 MB / 1.115 GB, free: 34.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006994/1.623, allocations: 0.5746 MB / 1.116 GB, free: 34.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 4.884e-05/1.623, allocations: 303 kB / 1.116 GB, free: 34.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/1.624, allocations: 0.8214 MB / 1.117 GB, free: 34.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/1.626, allocations: 1.82 MB / 1.119 GB, free: 33.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/1.629, allocations: 2.51 MB / 1.121 GB, free: 32.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/1.629, allocations: 6.688 kB / 1.121 GB, free: 32.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007808/1.637, allocations: 3.556 MB / 1.125 GB, free: 31.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/1.637, allocations: 15.73 kB / 1.125 GB, free: 31.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.002e-05/1.637, allocations: 25.98 kB / 1.125 GB, free: 31.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002418/1.639, allocations: 0.572 MB / 1.125 GB, free: 31.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/1.641, allocations: 0.5516 MB / 1.126 GB, free: 31.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/1.643, allocations: 2.697 MB / 1.129 GB, free: 29.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004159/1.647, allocations: 323.2 kB / 1.129 GB, free: 29.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000305/1.647, allocations: 140.3 kB / 1.129 GB, free: 29.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003037/1.65, allocations: 1.565 MB / 1.131 GB, free: 29.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001656/1.652, allocations: 1.795 MB / 1.132 GB, free: 28.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002824/1.655, allocations: 2.458 MB / 1.135 GB, free: 27.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.247e-05/1.655, allocations: 5.219 kB / 1.135 GB, free: 27.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006312/1.661, allocations: 3.312 MB / 1.138 GB, free: 27.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/1.661, allocations: 14.69 kB / 1.138 GB, free: 27.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/1.661, allocations: 26.81 kB / 1.138 GB, free: 27.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008747/1.662, allocations: 370.2 kB / 1.138 GB, free: 27.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/1.664, allocations: 0.557 MB / 1.139 GB, free: 27.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006226/1.67, allocations: 8.447 MB / 1.147 GB, free: 20.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004472/1.674, allocations: 299 kB / 1.147 GB, free: 20.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004591/1.675, allocations: 131.4 kB / 1.148 GB, free: 20.64 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.0008824/1.676, allocations: 371.6 kB / 1.148 GB, free: 20.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001676/1.677, allocations: 0.5038 MB / 1.148 GB, free: 20.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005889/1.683, allocations: 3.555 MB / 1.152 GB, free: 19.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.114e-05/1.683, allocations: 35.28 kB / 1.152 GB, free: 19.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.683, allocations: 7.984 kB / 1.152 GB, free: 19.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003456/1.687, allocations: 2.435 MB / 1.154 GB, free: 19.54 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.01402/1.701, allocations: 8.204 MB / 1.162 GB, free: 18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.701, allocations: 0 / 1.162 GB, free: 18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/1.702, allocations: 362.4 kB / 1.163 GB, free: 18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006373/1.703, allocations: 301.9 kB / 1.163 GB, free: 17.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/1.703, allocations: 67.89 kB / 1.163 GB, free: 17.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/1.704, allocations: 2.499 MB / 1.165 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.704, allocations: 3.469 kB / 1.165 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008023/1.712, allocations: 4.33 MB / 1.17 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002883/1.715, allocations: 0.886 MB / 1.171 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/1.716, allocations: 47.8 kB / 1.171 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/1.719, allocations: 118.2 kB / 1.171 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/1.719, allocations: 146.9 kB / 1.171 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002621/1.72, allocations: 118.7 kB / 1.171 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.005399/1.725, allocations: 2.844 MB / 1.174 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9.12e-07/1.725, allocations: 4 kB / 1.174 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.01227/1.737, allocations: 3.234 MB / 1.177 GB, free: 10.78 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.003565/1.741, allocations: 1.514 MB / 1.178 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.008319/1.749, allocations: 4.421 MB / 1.183 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.749, allocations: 192 / 1.183 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002355/1.752, allocations: 1.237 MB / 1.184 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01631/1.768, allocations: 2.641 MB / 1.187 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01823/1.786, allocations: 9.097 MB / 1.195 GB, free: 12.36 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004032/1.79, allocations: 2.862 MB / 1.198 GB, free: 9.543 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/1.792, allocations: 434 kB / 1.199 GB, free: 9.145 MB / 0.795 GB Notification: Performance of SimCode: time 7.81e-07/1.792, allocations: 0 / 1.199 GB, free: 9.145 MB / 0.795 GB Notification: Performance of Templates: time 0.6633/2.455, allocations: 193.1 MB / 1.387 GB, free: 472.2 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)