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.0008123/0.0008122, allocations: 98.58 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 181.4 kB / 16.92 MB, free: 6.754 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.352/1.352, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7112/0.7112, allocations: 115.5 MB / 407.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003259, allocations: 12.19 kB / 495.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1525, allocations: 77.53 MB / 0.5599 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.9417/1.094, allocations: 294 MB / 0.8471 GB, free: 57.27 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.06938/1.164, allocations: 49.7 MB / 0.8956 GB, free: 56.51 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01239/1.176, allocations: 261.1 kB / 0.8959 GB, free: 56.51 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01106/1.187, allocations: 2.776 MB / 0.8986 GB, free: 56.45 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.03052/1.218, allocations: 8.415 MB / 0.9068 GB, free: 56.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0178/1.236, allocations: 6.019 MB / 0.9127 GB, free: 54.89 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02884/1.264, allocations: 24.57 MB / 0.9367 GB, free: 42.62 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0138/1.278, allocations: 4.723 MB / 0.9413 GB, free: 39.87 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01823/1.297, allocations: 6.185 MB / 0.9473 GB, free: 34.74 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009527/1.306, allocations: 4.9 MB / 0.9521 GB, free: 30.27 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002289/1.308, allocations: 232 kB / 0.9523 GB, free: 30.05 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01443/1.323, allocations: 3.906 MB / 0.9562 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003333/1.326, allocations: 1.131 MB / 0.9573 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.009375/1.336, allocations: 3.321 MB / 0.9605 GB, free: 22.02 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02471/1.36, allocations: 9.928 MB / 0.9702 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/1.361, allocations: 3.938 kB / 0.9702 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.415e-06/1.361, allocations: 0 / 0.9702 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0005663/1.361, allocations: 0 / 0.9702 GB, free: 12.54 MB / 0.6387 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.01654/1.378, allocations: 6.197 MB / 0.9763 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/1.378, allocations: 8.031 kB / 0.9763 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003214/1.381, allocations: 0.7842 MB / 0.977 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/1.392, allocations: 5.208 MB / 0.9821 GB, free: 376 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/1.392, allocations: 323.6 kB / 0.9824 GB, free: 52 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/1.394, allocations: 432.1 kB / 0.9828 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/1.405, allocations: 4.388 MB / 0.9871 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001871/1.406, allocations: 19.81 kB / 0.9871 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009632/1.407, allocations: 176 kB / 0.9873 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001735/1.407, allocations: 116 kB / 0.9874 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00703/1.414, allocations: 2.972 MB / 0.9903 GB, free: 7.684 MB / 0.6544 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.03171/1.446, allocations: 25.04 MB / 1.015 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003521/1.449, allocations: 2.767 MB / 1.017 GB, free: 9.832 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/1.451, allocations: 1.005 MB / 1.018 GB, free: 8.828 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00321/1.454, allocations: 3.917 MB / 1.022 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.57e-05/1.454, allocations: 64.56 kB / 1.022 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=217): time 3.817e-06/1.454, allocations: 0 / 1.022 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of matching and sorting (n=217): time 0.01053/1.464, allocations: 4.113 MB / 1.026 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/1.465, allocations: 73.41 kB / 1.026 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007287/1.472, allocations: 4.225 MB / 1.031 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0005133/1.472, allocations: 81.7 kB / 1.031 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.002339/1.475, allocations: 2.803 MB / 1.033 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.00102/1.476, allocations: 0.762 MB / 1.034 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/1.476, allocations: 235.6 kB / 1.034 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001009/1.476, allocations: 309 kB / 1.035 GB, free: 7.305 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/1.478, allocations: 0.8138 MB / 1.035 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00215/1.48, allocations: 1.818 MB / 1.037 GB, free: 4.234 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003606/1.483, allocations: 2.533 MB / 1.04 GB, free: 1.375 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/1.483, allocations: 4 kB / 1.04 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008017/1.491, allocations: 3.568 MB / 1.043 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005815/1.492, allocations: 0.7423 MB / 1.044 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.822e-05/1.492, allocations: 24 kB / 1.044 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002656/1.495, allocations: 0.5923 MB / 1.044 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/1.497, allocations: 0.5538 MB / 1.045 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/1.499, allocations: 2.688 MB / 1.048 GB, free: 8.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005134/1.504, allocations: 0.5961 MB / 1.048 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003658/1.505, allocations: 136 kB / 1.048 GB, free: 8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/1.505, allocations: 4 kB / 1.048 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005256/1.51, allocations: 2.829 MB / 1.051 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/1.51, allocations: 20 kB / 1.051 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009981/1.511, allocations: 367.4 kB / 1.052 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/1.513, allocations: 0.5577 MB / 1.052 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008577/1.521, allocations: 7.712 MB / 1.06 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004769/1.526, allocations: 0.5633 MB / 1.06 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003356/1.527, allocations: 136 kB / 1.06 GB, free: 11.19 MB / 0.7325 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.002259/1.529, allocations: 1.008 MB / 1.061 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001537/1.53, allocations: 0.5055 MB / 1.062 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006884/1.537, allocations: 3.592 MB / 1.065 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.871e-05/1.537, allocations: 39.91 kB / 1.065 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.537, allocations: 0 / 1.065 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003907/1.541, allocations: 2.447 MB / 1.068 GB, free: 3.48 MB / 0.7325 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.0138/1.555, allocations: 8.222 MB / 1.076 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.555, allocations: 0 / 1.076 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/1.557, allocations: 367.5 kB / 1.076 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007321/1.557, allocations: 303.1 kB / 1.076 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/1.557, allocations: 59.97 kB / 1.076 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/1.559, allocations: 2.503 MB / 1.079 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.559, allocations: 3.984 kB / 1.079 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007394/1.567, allocations: 4.346 MB / 1.083 GB, free: 3.305 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003018/1.57, allocations: 0.9777 MB / 1.084 GB, free: 2.301 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008887/1.571, allocations: 51.92 kB / 1.084 GB, free: 2.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003751/1.574, allocations: 431.8 kB / 1.085 GB, free: 1.828 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/1.575, allocations: 149.8 kB / 1.085 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002506/1.575, allocations: 111.9 kB / 1.085 GB, free: 1.574 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.004952/1.58, allocations: 2.789 MB / 1.087 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of sort global known variables: time 6.61e-07/1.58, allocations: 3.938 kB / 1.087 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.01161/1.591, allocations: 3.265 MB / 1.091 GB, free: 11.54 MB / 0.7637 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.002924/1.594, allocations: 1.497 MB / 1.092 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00776/1.602, allocations: 4.442 MB / 1.096 GB, free: 5.664 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.602, allocations: 4 kB / 1.096 GB, free: 5.66 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002291/1.605, allocations: 1.234 MB / 1.098 GB, free: 4.422 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02032/1.625, allocations: 2.644 MB / 1.1 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4738/2.099, allocations: 11.57 MB / 1.112 GB, free: 147.6 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005582/2.104, allocations: 2.874 MB / 1.114 GB, free: 146.7 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.007398/2.112, allocations: 1.159 MB / 1.116 GB, free: 146.5 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001908/2.114, allocations: 412.8 kB / 1.116 GB, free: 146.5 MB / 0.7637 GB Notification: Performance of SimCode: time 1.593e-06/2.114, allocations: 0 / 1.116 GB, free: 146.5 MB / 0.7637 GB Notification: Performance of Templates: time 0.1847/2.298, allocations: 103 MB / 1.216 GB, free: 84.97 MB / 0.7637 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)