Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y") translateModel(Annex60.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009508/0.009508, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001998/0.001998, allocations: 189.4 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.1 MB / 222.6 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4146/0.4146, allocations: 54.94 MB / 324.9 MB, free: 4 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 72.59 kB / 456.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1583, allocations: 59.59 MB / 0.5038 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Examples.Carnot_y): time 0.07514/0.2335, allocations: 74.46 MB / 0.5765 GB, free: 208 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02024/0.2538, allocations: 11.8 MB / 0.588 GB, free: 4.367 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003478/0.2573, allocations: 59.69 kB / 0.5881 GB, free: 4.309 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.2601, allocations: 0.8968 MB / 0.5889 GB, free: 3.406 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00753/0.2677, allocations: 2.405 MB / 0.5913 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0035/0.2712, allocations: 1.236 MB / 0.5925 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007283/0.2785, allocations: 4.343 MB / 0.5967 GB, free: 11.41 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/0.2807, allocations: 1.405 MB / 0.5981 GB, free: 9.965 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004544/0.2853, allocations: 1.68 MB / 0.5997 GB, free: 8.285 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/0.2875, allocations: 1.264 MB / 0.601 GB, free: 7.016 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000286/0.2878, allocations: 168 kB / 0.6011 GB, free: 6.852 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003177/0.291, allocations: 1.236 MB / 0.6023 GB, free: 5.613 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004332/0.2914, allocations: 406.5 kB / 0.6027 GB, free: 5.215 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.2926, allocations: 0.9411 MB / 0.6037 GB, free: 4.27 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004499/0.2971, allocations: 2.846 MB / 0.6064 GB, free: 1.414 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.2972, allocations: 0 / 0.6064 GB, free: 1.414 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2972, allocations: 4 kB / 0.6064 GB, free: 1.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.556e-05/0.2972, allocations: 0 / 0.6064 GB, free: 1.41 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.004207/0.3014, allocations: 2.155 MB / 0.6085 GB, free: 15.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.3015, allocations: 12.03 kB / 0.6085 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.3025, allocations: 251.7 kB / 0.6088 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003195/0.3057, allocations: 1.486 MB / 0.6102 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.3059, allocations: 86.09 kB / 0.6103 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.3061, allocations: 108 kB / 0.6104 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003167/0.3092, allocations: 1.374 MB / 0.6118 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.396e-05/0.3093, allocations: 11.89 kB / 0.6118 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.3094, allocations: 48 kB / 0.6118 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.386e-05/0.3095, allocations: 35.98 kB / 0.6119 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002671/0.3122, allocations: 1.03 MB / 0.6129 GB, free: 10.57 MB / 494.1 MB 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.008412/0.3206, allocations: 6.572 MB / 0.6193 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.3224, allocations: 0.6316 MB / 0.6199 GB, free: 2.965 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006774/0.3231, allocations: 330.9 kB / 0.6202 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003445/0.3235, allocations: 345 kB / 0.6205 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.3235, allocations: 39.12 kB / 0.6206 GB, free: 2.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=63): time 2.645e-06/0.3235, allocations: 4 kB / 0.6206 GB, free: 2.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=67): time 0.006353/0.3299, allocations: 2.326 MB / 0.6229 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.33, allocations: 166.8 kB / 0.623 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.3319, allocations: 1.263 MB / 0.6242 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.566e-05/0.332, allocations: 45.7 kB / 0.6243 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005566/0.3326, allocations: 0.6656 MB / 0.6249 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000315/0.3329, allocations: 249.8 kB / 0.6252 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002914/0.3332, allocations: 182.5 kB / 0.6254 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3334, allocations: 345.9 kB / 0.6257 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007861/0.3342, allocations: 328.6 kB / 0.626 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.3352, allocations: 0.6565 MB / 0.6266 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.3369, allocations: 0.9255 MB / 0.6275 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.337, allocations: 0 / 0.6275 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002359/0.3393, allocations: 1.08 MB / 0.6286 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.3394, allocations: 8 kB / 0.6286 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.3394, allocations: 8 kB / 0.6286 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.239e-05/0.3394, allocations: 15.94 kB / 0.6286 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008955/0.3403, allocations: 231.6 kB / 0.6288 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/0.3404, allocations: 15.94 kB / 0.6289 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.3415, allocations: 84.05 kB / 0.6289 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-05/0.3416, allocations: 40 kB / 0.629 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001195/0.3428, allocations: 0.5877 MB / 0.6296 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000962/0.3437, allocations: 0.6254 MB / 0.6302 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001532/0.3453, allocations: 0.8827 MB / 0.631 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.13e-06/0.3453, allocations: 4 kB / 0.631 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002026/0.3473, allocations: 1.029 MB / 0.632 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3474, allocations: 8 kB / 0.632 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/0.3474, allocations: 12.06 kB / 0.6321 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3474, allocations: 12 kB / 0.6321 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007965/0.3482, allocations: 223.6 kB / 0.6323 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.3482, allocations: 19.88 kB / 0.6323 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.3493, allocations: 79.92 kB / 0.6324 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.018e-05/0.3494, allocations: 39.92 kB / 0.6324 GB, free: 5.402 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000304/0.3497, allocations: 244 kB / 0.6326 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/0.35, allocations: 147.1 kB / 0.6328 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/0.3523, allocations: 0.93 MB / 0.6337 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.3523, allocations: 8 kB / 0.6337 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.3523, allocations: 0 / 0.6337 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001719/0.354, allocations: 0.8295 MB / 0.6345 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004866/0.3589, allocations: 2.498 MB / 0.637 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.3589, allocations: 8.094 kB / 0.637 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006922/0.3596, allocations: 159.8 kB / 0.6371 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000264/0.3599, allocations: 73.69 kB / 0.6372 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/0.36, allocations: 23.98 kB / 0.6372 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4115/0.7715, allocations: 1.159 MB / 0.6383 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.7715, allocations: 7.781 kB / 0.6383 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003523/0.7751, allocations: 1.508 MB / 0.6398 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007384/0.7758, allocations: 318.5 kB / 0.6401 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.776, allocations: 23.52 kB / 0.6401 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009242/0.777, allocations: 64.45 kB / 0.6402 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.7771, allocations: 61.83 kB / 0.6403 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.432e-05/0.7772, allocations: 34 kB / 0.6403 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002081/0.7793, allocations: 0.896 MB / 0.6412 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7793, allocations: 0 / 0.6412 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002714/0.7821, allocations: 0.6444 MB / 0.6418 GB, free: 125.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.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 (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000924/0.783, allocations: 378.8 kB / 0.6422 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003635/0.7866, allocations: 1.288 MB / 0.6434 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.7867, allocations: 1.812 kB / 0.6434 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.7878, allocations: 424.9 kB / 0.6438 GB, free: 124.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00404/0.7919, allocations: 0.8774 MB / 0.6447 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005046/0.7969, allocations: 2.463 MB / 0.6471 GB, free: 123.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.7981, allocations: 1.195 MB / 0.6483 GB, free: 122.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001849/0.7999, allocations: 327.2 kB / 0.6486 GB, free: 122.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/0.8003, allocations: 116.7 kB / 0.6487 GB, free: 122.4 MB / 0.4981 GB Notification: Performance of SimCode: time 2.185e-06/0.8003, allocations: 0 / 0.6487 GB, free: 122.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.05117/0.8515, allocations: 31.36 MB / 0.6793 GB, free: 96.33 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.sim & ./Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)