Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Annex60.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.325/0.325, allocations: 55.02 MB / 69.97 MB, free: 8.648 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001165/0.001165, allocations: 189 kB / 83.98 MB, free: 10.83 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.583/1.583, allocations: 194.4 MB / 292.3 MB, free: 3.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001785/0.001785, allocations: 119.1 kB / 350.7 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003677, allocations: 12 kB / 418.9 MB, free: 37.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1139, allocations: 57.66 MB / 476.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9416/1.056, allocations: 349.7 MB / 0.8068 GB, free: 79.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/1.056, allocations: 97.45 kB / 0.8069 GB, free: 79.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 10.49/11.55, allocations: 2.337 GB / 3.144 GB, free: 24.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.935e-06/11.55, allocations: 0 / 3.144 GB, free: 24.06 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.001423/11.55, allocations: 160.7 kB / 3.144 GB, free: 24.04 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1017 * Number of variables: 1017 Notification: Performance of Generate backend data structure: time 0.0295/11.58, allocations: 6.982 MB / 3.151 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.577e-05/11.58, allocations: 12.84 kB / 3.151 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005661/11.58, allocations: 0.763 MB / 3.151 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1423/11.73, allocations: 57.46 MB / 3.207 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000582/11.73, allocations: 310.8 kB / 3.208 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002139/11.73, allocations: 419.3 kB / 3.208 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01729/11.75, allocations: 4.854 MB / 3.213 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000139/11.75, allocations: 18.44 kB / 3.213 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004889/11.75, allocations: 182.4 kB / 3.213 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/11.75, allocations: 115.9 kB / 3.213 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01128/11.76, allocations: 3.487 MB / 3.217 GB, free: 14.68 MB / 0.6355 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.03484/11.79, allocations: 24.28 MB / 3.24 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007976/11.8, allocations: 3.386 MB / 3.244 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003344/11.8, allocations: 3.617 MB / 3.247 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.516e-05/11.8, allocations: 56.03 kB / 3.247 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=242): time 4.989e-06/11.8, allocations: 0 / 3.247 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of matching and sorting (n=258): time 0.04018/11.85, allocations: 11.13 MB / 3.258 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/11.85, allocations: 132.8 kB / 3.258 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009322/11.85, allocations: 3.602 MB / 3.262 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0008504/11.86, allocations: 81.7 kB / 3.262 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.00249/11.86, allocations: 2.671 MB / 3.264 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001587/11.86, allocations: 0.8929 MB / 3.265 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/11.86, allocations: 59.94 kB / 3.265 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002153/11.86, allocations: 417.2 kB / 3.266 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002408/11.86, allocations: 1.11 MB / 3.267 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003063/11.87, allocations: 2.095 MB / 3.269 GB, free: 8.449 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002775/11.87, allocations: 1.4 MB / 3.27 GB, free: 7.133 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/11.87, allocations: 4 kB / 3.27 GB, free: 7.129 MB / 0.6667 GB Notification: Performance of matching and sorting (n=366) (initialization): time 0.01534/11.88, allocations: 4.727 MB / 3.275 GB, free: 3.02 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.8018/12.69, allocations: 10.1 MB / 3.285 GB, free: 45.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/12.69, allocations: 21.75 kB / 3.285 GB, free: 45.15 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003175/12.69, allocations: 0.7238 MB / 3.285 GB, free: 45.11 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004399/12.69, allocations: 0.695 MB / 3.286 GB, free: 45.11 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005724/12.7, allocations: 5.211 MB / 3.291 GB, free: 40.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008252/12.71, allocations: 0.4903 MB / 3.292 GB, free: 40.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001105/12.71, allocations: 138.6 kB / 3.292 GB, free: 40.84 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/12.71, allocations: 4.344 kB / 3.292 GB, free: 40.84 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006575/12.72, allocations: 2.977 MB / 3.295 GB, free: 40.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.782e-05/12.72, allocations: 20.94 kB / 3.295 GB, free: 40.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006936/12.72, allocations: 300.7 kB / 3.295 GB, free: 40.64 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002977/12.72, allocations: 0.6763 MB / 3.296 GB, free: 40.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/12.73, allocations: 10.69 MB / 3.306 GB, free: 31.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006981/12.74, allocations: 416.7 kB / 3.307 GB, free: 31.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001003/12.74, allocations: 132.7 kB / 3.307 GB, free: 31.41 MB / 0.6667 GB Warning: Assuming fixed start value for the following 2 variables: mix2.dynBal.U:VARIABLE(start = 1e-06 * mix2.dynBal.rho_start * Annex60.Fluid.Interfaces.ConservationEquation$mix2$dynBal.Medium.specificInternalEnergy(Annex60.Fluid.Interfaces.ConservationEquation$mix2$dynBal.Medium.setState_pTX(mix2.dynBal.p_start, mix2.dynBal.T_start, {})) + (-273.15 + mix2.dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real mix1.dynBal.U:VARIABLE(start = 1e-06 * mix1.dynBal.rho_start * Annex60.Fluid.Interfaces.ConservationEquation$mix1$dynBal.Medium.specificInternalEnergy(Annex60.Fluid.Interfaces.ConservationEquation$mix1$dynBal.Medium.setState_pTX(mix1.dynBal.p_start, mix1.dynBal.T_start, {})) + (-273.15 + mix1.dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * 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 (336): * Single equations (assignments): 328 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 3,1 3,1 3,1 3,1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.004877/12.74, allocations: 1.048 MB / 3.308 GB, free: 31.21 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002342/12.74, allocations: 0.5019 MB / 3.308 GB, free: 31.21 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01922/12.76, allocations: 5.89 MB / 3.314 GB, free: 30.88 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001864/12.76, allocations: 52.02 kB / 3.314 GB, free: 30.88 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.192e-05/12.76, allocations: 2.422 kB / 3.314 GB, free: 30.88 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01596/12.78, allocations: 4.63 MB / 3.319 GB, free: 30.57 MB / 0.6667 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.0346/12.81, allocations: 10.42 MB / 3.329 GB, free: 29.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.031e-05/12.81, allocations: 6.25 kB / 3.329 GB, free: 29.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002025/12.82, allocations: 402.2 kB / 3.329 GB, free: 29.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003092/12.82, allocations: 1.133 MB / 3.33 GB, free: 29.38 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000563/12.82, allocations: 89.61 kB / 3.33 GB, free: 29.37 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02685/12.85, allocations: 18.68 MB / 3.349 GB, free: 16.03 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/12.85, allocations: 7.516 kB / 3.349 GB, free: 16.03 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02148/12.87, allocations: 7.818 MB / 3.356 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005883/12.88, allocations: 0.9607 MB / 3.357 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002378/12.88, allocations: 62.66 kB / 3.357 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006277/12.88, allocations: 0.5038 MB / 3.358 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006769/12.88, allocations: 221.1 kB / 3.358 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003796/12.88, allocations: 116.2 kB / 3.358 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00605/12.89, allocations: 2.668 MB / 3.361 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.01e-07/12.89, allocations: 2.75 kB / 3.361 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.02236/12.91, allocations: 3.159 MB / 3.364 GB, free: 14.19 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,hea4.vol.dynBal.m,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,hea8.vol.dynBal.m,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 (254): * Single equations (assignments): 206 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 16 {1 3,1 3,1 7,1 3,1 3,1 5,1 3,1 1,1 3,1 3,1 7,1 3,1 3,1 5,1 3,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008925/12.92, allocations: 3.361 MB / 3.367 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01318/12.94, allocations: 5.546 MB / 3.372 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/12.94, allocations: 2.969 kB / 3.372 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.004923/12.94, allocations: 2.588 MB / 3.375 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01914/12.96, allocations: 2.772 MB / 3.378 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02857/12.99, allocations: 11.83 MB / 3.389 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003185/12.99, allocations: 3.013 MB / 3.392 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.007437/13, allocations: 1.225 MB / 3.393 GB, free: 4.723 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001647/13, allocations: 427.1 kB / 3.394 GB, free: 4.719 MB / 0.6667 GB Notification: Performance of SimCode: time 1.253e-06/13, allocations: 0 / 3.394 GB, free: 4.719 MB / 0.6667 GB Notification: Performance of Templates: time 0.2206/13.22, allocations: 128.2 MB / 3.519 GB, free: 14.8 MB / 0.7136 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)