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.3782/0.3782, allocations: 54.41 MB / 61.88 MB, free: 13.75 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.0009794/0.0009794, allocations: 175.5 kB / 75.6 MB, free: 0.7656 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.613/1.613, allocations: 194.3 MB / 283.5 MB, free: 14.84 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001748/0.001748, allocations: 104.8 kB / 341.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.89e-05/1.89e-05, allocations: 224 / 405.5 MB, free: 4.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.3988, allocations: 57.65 MB / 463.2 MB, free: 51.75 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6667/1.066, allocations: 348.9 MB / 0.7931 GB, free: 9.051 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/1.066, allocations: 93.67 kB / 0.7932 GB, free: 9.008 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.1/11.17, allocations: 2.318 GB / 3.111 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.916e-06/11.17, allocations: 0 / 3.111 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.001924/11.17, allocations: 165.6 kB / 3.111 GB, free: 20.67 MB / 0.6198 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.0312/11.2, allocations: 5.801 MB / 3.117 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.771e-05/11.2, allocations: 7.938 kB / 3.117 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008406/11.21, allocations: 0.759 MB / 3.118 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1467/11.36, allocations: 57.01 MB / 3.173 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004325/11.36, allocations: 129.2 kB / 3.173 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002136/11.36, allocations: 246.1 kB / 3.174 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009711/11.37, allocations: 2.503 MB / 3.176 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01409/11.39, allocations: 3.626 MB / 3.18 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003703/11.39, allocations: 18.91 kB / 3.18 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001401/11.39, allocations: 11.81 kB / 3.18 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001853/11.39, allocations: 121.4 kB / 3.18 GB, free: 9.48 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.04012/11.43, allocations: 23.6 MB / 3.203 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005144/11.43, allocations: 2.668 MB / 3.205 GB, free: 164 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002516/11.44, allocations: 1.16 MB / 3.206 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00358/11.44, allocations: 3.615 MB / 3.21 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/11.44, allocations: 56.56 kB / 3.21 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=242): time 7.364e-06/11.44, allocations: 0 / 3.21 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=252): time 0.03991/11.48, allocations: 8.346 MB / 3.218 GB, free: 2.555 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.008e-05/11.48, allocations: 132.8 kB / 3.218 GB, free: 2.402 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8194/12.3, allocations: 3.075 MB / 3.221 GB, free: 49.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0008478/12.3, allocations: 30.92 kB / 3.221 GB, free: 49.77 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.003044/12.3, allocations: 2.677 MB / 3.224 GB, free: 49.64 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001472/12.3, allocations: 0.8343 MB / 3.225 GB, free: 49.44 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/12.3, allocations: 1.844 kB / 3.225 GB, free: 49.44 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000181/12.3, allocations: 411.4 kB / 3.225 GB, free: 49.14 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/12.31, allocations: 0.8252 MB / 3.226 GB, free: 49.13 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/12.31, allocations: 1.781 MB / 3.228 GB, free: 48 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004432/12.31, allocations: 1.426 MB / 3.229 GB, free: 47.95 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/12.31, allocations: 6.484 kB / 3.229 GB, free: 47.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=358) (initialization): time 0.01679/12.33, allocations: 4.55 MB / 3.234 GB, free: 47.54 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.002741/12.33, allocations: 10.04 MB / 3.243 GB, free: 37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.002e-05/12.33, allocations: 21.84 kB / 3.243 GB, free: 37 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/12.33, allocations: 0.5524 MB / 3.244 GB, free: 36.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002827/12.34, allocations: 0.5961 MB / 3.245 GB, free: 36.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002987/12.34, allocations: 2.896 MB / 3.247 GB, free: 34.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007301/12.35, allocations: 438.6 kB / 3.248 GB, free: 34.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008908/12.35, allocations: 138.6 kB / 3.248 GB, free: 34.86 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/12.35, allocations: 3.062 kB / 3.248 GB, free: 34.86 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009823/12.36, allocations: 2.83 MB / 3.251 GB, free: 34.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.784e-05/12.36, allocations: 25.56 kB / 3.251 GB, free: 34.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009017/12.36, allocations: 336.7 kB / 3.251 GB, free: 34.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/12.36, allocations: 0.5989 MB / 3.252 GB, free: 34.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008641/12.37, allocations: 7.343 MB / 3.259 GB, free: 29.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007287/12.38, allocations: 354.3 kB / 3.259 GB, free: 29.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00113/12.38, allocations: 130.9 kB / 3.259 GB, free: 29.29 MB / 0.6511 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (316): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 12,1 9,1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001888/12.38, allocations: 181.3 kB / 3.259 GB, free: 29.18 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002579/12.38, allocations: 0.4885 MB / 3.26 GB, free: 28.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02214/12.4, allocations: 5.282 MB / 3.265 GB, free: 28.56 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002044/12.41, allocations: 45.72 kB / 3.265 GB, free: 28.56 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.199e-05/12.41, allocations: 2.219 kB / 3.265 GB, free: 28.56 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01822/12.42, allocations: 4.093 MB / 3.269 GB, free: 28.27 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.03416/12.46, allocations: 9.982 MB / 3.279 GB, free: 26.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.816e-05/12.46, allocations: 5.188 kB / 3.279 GB, free: 26.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/12.46, allocations: 362.9 kB / 3.279 GB, free: 26.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/12.46, allocations: 0.817 MB / 3.28 GB, free: 26.45 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005365/12.46, allocations: 45.11 kB / 3.28 GB, free: 26.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01762/12.48, allocations: 14.12 MB / 3.294 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.415e-05/12.48, allocations: 13.25 kB / 3.294 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02191/12.5, allocations: 7.107 MB / 3.301 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005213/12.51, allocations: 0.9363 MB / 3.302 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002659/12.51, allocations: 11.19 kB / 3.302 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0071/12.52, allocations: 487.4 kB / 3.302 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009817/12.52, allocations: 211.9 kB / 3.302 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007076/12.52, allocations: 118 kB / 3.302 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0074/12.53, allocations: 2.285 MB / 3.305 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/12.53, allocations: 6.219 kB / 3.305 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.024/12.55, allocations: 3.006 MB / 3.308 GB, free: 13.59 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 196 * 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: 14 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 14 {1 3,1 3,1 7,1 3,1 3,1 3,1 9,1 3,1 3,1 7,1 3,1 3,1 3,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01089/12.56, allocations: 3.346 MB / 3.311 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01184/12.57, allocations: 4.622 MB / 3.315 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/12.57, allocations: 3.281 kB / 3.315 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.004553/12.58, allocations: 2.024 MB / 3.317 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01834/12.6, allocations: 2.642 MB / 3.32 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02086/12.62, allocations: 7.425 MB / 3.327 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002934/12.62, allocations: 3.004 MB / 3.33 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.009907/12.63, allocations: 1.465 MB / 3.332 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/12.63, allocations: 326.3 kB / 3.332 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of SimCode: time 9.51e-07/12.63, allocations: 0 / 3.332 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of Templates: time 0.219/12.85, allocations: 122.5 MB / 3.452 GB, free: 6.098 MB / 0.6823 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)