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.001025/0.001025, allocations: 91.22 kB / 16.67 MB, free: 6.594 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.001336/0.001336, allocations: 183.5 kB / 17.58 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.364/1.364, allocations: 223.3 MB / 241.6 MB, free: 14.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7641/0.7641, allocations: 115.5 MB / 408.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003783, allocations: 12.23 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4557/0.4561, allocations: 77.51 MB / 0.5606 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6707/1.127, allocations: 294.1 MB / 0.8477 GB, free: 34.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.06179/1.189, allocations: 49.69 MB / 0.8963 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0136/1.202, allocations: 262.2 kB / 0.8965 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01135/1.214, allocations: 2.778 MB / 0.8992 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.03239/1.246, allocations: 8.423 MB / 0.9075 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01954/1.266, allocations: 6.016 MB / 0.9133 GB, free: 128 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.03566/1.301, allocations: 24.58 MB / 0.9373 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01093/1.312, allocations: 4.714 MB / 0.9419 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01825/1.331, allocations: 6.186 MB / 0.948 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01112/1.342, allocations: 4.895 MB / 0.9528 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002381/1.344, allocations: 232 kB / 0.953 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01456/1.359, allocations: 3.905 MB / 0.9568 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003277/1.362, allocations: 1.131 MB / 0.9579 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.008758/1.371, allocations: 3.324 MB / 0.9611 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.015/1.386, allocations: 7.717 MB / 0.9687 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.386, allocations: 0 / 0.9687 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.99e-06/1.386, allocations: 0 / 0.9687 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003862/1.386, allocations: 0 / 0.9687 GB, free: 7.184 MB / 0.6544 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.01469/1.401, allocations: 6.192 MB / 0.9747 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/1.401, allocations: 15.91 kB / 0.9747 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003359/1.405, allocations: 0.7803 MB / 0.9755 GB, free: 56 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/1.416, allocations: 5.226 MB / 0.9806 GB, free: 10.75 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003982/1.416, allocations: 316.1 kB / 0.9809 GB, free: 10.44 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/1.417, allocations: 431.9 kB / 0.9813 GB, free: 10.02 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0114/1.429, allocations: 4.393 MB / 0.9856 GB, free: 5.348 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001932/1.429, allocations: 11.94 kB / 0.9856 GB, free: 5.336 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008748/1.43, allocations: 176 kB / 0.9858 GB, free: 5.164 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001714/1.43, allocations: 119.9 kB / 0.9859 GB, free: 5.047 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007714/1.438, allocations: 2.968 MB / 0.9888 GB, free: 2.074 MB / 0.67 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.03635/1.474, allocations: 25.06 MB / 1.013 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004076/1.478, allocations: 2.767 MB / 1.016 GB, free: 3.996 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/1.48, allocations: 0.9998 MB / 1.017 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4981/1.978, allocations: 3.914 MB / 1.021 GB, free: 96.43 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/1.979, allocations: 63.06 kB / 1.021 GB, free: 96.39 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=217): time 4.849e-06/1.979, allocations: 0 / 1.021 GB, free: 96.39 MB / 0.7012 GB Notification: Performance of matching and sorting (n=217): time 0.01291/1.991, allocations: 4.11 MB / 1.025 GB, free: 95.86 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/1.992, allocations: 74.12 kB / 1.025 GB, free: 95.79 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009799/2.001, allocations: 4.231 MB / 1.029 GB, free: 95.48 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0007176/2.002, allocations: 80.58 kB / 1.029 GB, free: 95.45 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.002783/2.005, allocations: 2.794 MB / 1.032 GB, free: 94.86 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001198/2.006, allocations: 0.7621 MB / 1.033 GB, free: 94.37 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003783/2.007, allocations: 233.1 kB / 1.033 GB, free: 94.36 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 6.544e-05/2.007, allocations: 302.2 kB / 1.033 GB, free: 94.06 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/2.008, allocations: 0.817 MB / 1.034 GB, free: 94.05 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002442/2.011, allocations: 1.825 MB / 1.036 GB, free: 92.91 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004223/2.015, allocations: 2.525 MB / 1.038 GB, free: 92.08 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.619e-05/2.015, allocations: 6.094 kB / 1.038 GB, free: 92.08 MB / 0.7012 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.009055/2.024, allocations: 3.572 MB / 1.042 GB, free: 91.6 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004933/2.025, allocations: 0.7474 MB / 1.042 GB, free: 90.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.811e-05/2.025, allocations: 21.72 kB / 1.042 GB, free: 90.68 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002685/2.027, allocations: 0.5836 MB / 1.043 GB, free: 90.62 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002299/2.03, allocations: 0.5595 MB / 1.044 GB, free: 90.61 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/2.032, allocations: 2.691 MB / 1.046 GB, free: 88.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006208/2.038, allocations: 0.603 MB / 1.047 GB, free: 88.34 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005596/2.039, allocations: 132.3 kB / 1.047 GB, free: 88.34 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/2.039, allocations: 4 kB / 1.047 GB, free: 88.34 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006636/2.046, allocations: 2.825 MB / 1.05 GB, free: 88.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.742e-05/2.046, allocations: 25.28 kB / 1.05 GB, free: 88.18 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/2.047, allocations: 369.9 kB / 1.05 GB, free: 88.14 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/2.049, allocations: 0.5551 MB / 1.051 GB, free: 88.14 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008135/2.057, allocations: 7.72 MB / 1.058 GB, free: 82.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005654/2.063, allocations: 0.55 MB / 1.059 GB, free: 82.34 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00062/2.063, allocations: 133.3 kB / 1.059 GB, free: 82.34 MB / 0.7012 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.003163/2.066, allocations: 1.004 MB / 1.06 GB, free: 82.14 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001853/2.068, allocations: 0.5091 MB / 1.06 GB, free: 81.87 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007769/2.076, allocations: 3.58 MB / 1.064 GB, free: 81.48 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-05/2.076, allocations: 36.61 kB / 1.064 GB, free: 81.48 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/2.076, allocations: 7.188 kB / 1.064 GB, free: 81.47 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004103/2.08, allocations: 2.444 MB / 1.066 GB, free: 81.23 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 postOpt removeSimpleEquations (simulation): time 0.01933/2.1, allocations: 8.224 MB / 1.074 GB, free: 79.65 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/2.1, allocations: 2.25 kB / 1.074 GB, free: 79.65 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/2.101, allocations: 369.9 kB / 1.075 GB, free: 79.64 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008184/2.102, allocations: 305.2 kB / 1.075 GB, free: 79.59 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002395/2.102, allocations: 70.23 kB / 1.075 GB, free: 79.58 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/2.104, allocations: 2.49 MB / 1.077 GB, free: 77.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/2.104, allocations: 4 kB / 1.077 GB, free: 77.49 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00865/2.113, allocations: 4.349 MB / 1.082 GB, free: 76.81 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003503/2.116, allocations: 0.9819 MB / 1.083 GB, free: 76.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001593/2.118, allocations: 43.72 kB / 1.083 GB, free: 76.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004705/2.122, allocations: 427.1 kB / 1.083 GB, free: 76.35 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003747/2.123, allocations: 156 kB / 1.083 GB, free: 76.34 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003661/2.123, allocations: 109.7 kB / 1.083 GB, free: 76.34 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.006854/2.13, allocations: 2.795 MB / 1.086 GB, free: 76.16 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9.92e-07/2.13, allocations: 1.859 kB / 1.086 GB, free: 76.16 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01528/2.145, allocations: 3.28 MB / 1.089 GB, free: 75.72 MB / 0.7012 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.004138/2.15, allocations: 1.491 MB / 1.091 GB, free: 75.41 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.009939/2.16, allocations: 4.444 MB / 1.095 GB, free: 74.83 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/2.16, allocations: 3.906 kB / 1.095 GB, free: 74.83 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002407/2.162, allocations: 1.242 MB / 1.096 GB, free: 74.8 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01799/2.18, allocations: 2.645 MB / 1.099 GB, free: 73.96 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01893/2.199, allocations: 11.65 MB / 1.11 GB, free: 63.73 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003482/2.203, allocations: 2.857 MB / 1.113 GB, free: 61.64 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001713/2.204, allocations: 429.8 kB / 1.113 GB, free: 61.29 MB / 0.7012 GB Notification: Performance of SimCode: time 1.703e-06/2.204, allocations: 0 / 1.113 GB, free: 61.29 MB / 0.7012 GB Notification: Performance of Templates: time 0.2389/2.443, allocations: 190.3 MB / 1.299 GB, free: 3.34 MB / 0.8262 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)