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.01165/0.01165, allocations: 101.2 kB / 15.73 MB, free: 6.039 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.002289/0.002289, allocations: 197.7 kB / 16.67 MB, free: 5.965 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.595/1.595, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4125/0.4125, allocations: 54.94 MB / 324.8 MB, free: 16 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.001442/0.001442, allocations: 74.03 kB / 456.3 MB, free: 38.34 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.139, allocations: 59.59 MB / 0.5038 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Examples.Carnot_y): time 0.0723/0.2113, allocations: 74.47 MB / 0.5765 GB, free: 216 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01917/0.2306, allocations: 11.79 MB / 0.588 GB, free: 4.379 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00275/0.2333, allocations: 63.69 kB / 0.5881 GB, free: 4.316 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.2363, allocations: 0.8812 MB / 0.5889 GB, free: 3.43 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008079/0.2444, allocations: 2.408 MB / 0.5913 GB, free: 1.012 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003468/0.2479, allocations: 1.243 MB / 0.5925 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006295/0.2542, allocations: 4.342 MB / 0.5967 GB, free: 11.42 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002157/0.2564, allocations: 1.394 MB / 0.5981 GB, free: 9.992 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004141/0.2606, allocations: 1.714 MB / 0.5998 GB, free: 8.277 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002152/0.2627, allocations: 1.268 MB / 0.601 GB, free: 7.004 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002896/0.263, allocations: 164 kB / 0.6012 GB, free: 6.844 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002951/0.266, allocations: 1.24 MB / 0.6024 GB, free: 5.602 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004549/0.2665, allocations: 402.6 kB / 0.6028 GB, free: 5.207 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.2677, allocations: 0.9449 MB / 0.6037 GB, free: 4.258 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003872/0.2716, allocations: 2.839 MB / 0.6065 GB, free: 1.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2716, allocations: 3.938 kB / 0.6065 GB, free: 1.406 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2716, allocations: 0 / 0.6065 GB, free: 1.406 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.593e-05/0.2717, allocations: 4 kB / 0.6065 GB, free: 1.402 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.003608/0.2753, allocations: 2.091 MB / 0.6085 GB, free: 15.24 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.2753, allocations: 8.031 kB / 0.6085 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.2765, allocations: 250.7 kB / 0.6087 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/0.279, allocations: 1.469 MB / 0.6102 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.139e-05/0.2791, allocations: 82.11 kB / 0.6103 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.2792, allocations: 108 kB / 0.6104 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/0.2818, allocations: 1.374 MB / 0.6117 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.2819, allocations: 7.938 kB / 0.6117 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.865e-05/0.282, allocations: 48 kB / 0.6118 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.655e-05/0.282, allocations: 35.98 kB / 0.6118 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00235/0.2844, allocations: 1.03 MB / 0.6128 GB, free: 10.66 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.007073/0.2915, allocations: 6.574 MB / 0.6192 GB, free: 3.688 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.2932, allocations: 0.6199 MB / 0.6198 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006996/0.2939, allocations: 330.9 kB / 0.6201 GB, free: 2.734 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003729/0.2943, allocations: 341 kB / 0.6205 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.798e-05/0.2943, allocations: 51.06 kB / 0.6205 GB, free: 2.266 MB / 494.1 MB Notification: Performance of pre-optimization done (n=63): time 2.815e-06/0.2943, allocations: 0 / 0.6205 GB, free: 2.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=67): time 0.006446/0.3008, allocations: 2.304 MB / 0.6228 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001914/0.301, allocations: 166.8 kB / 0.6229 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.3032, allocations: 1.259 MB / 0.6242 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.3033, allocations: 37.7 kB / 0.6242 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006204/0.304, allocations: 0.6682 MB / 0.6248 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.3042, allocations: 232.7 kB / 0.6251 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.3045, allocations: 182.5 kB / 0.6252 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3047, allocations: 341.9 kB / 0.6256 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007947/0.3055, allocations: 340.6 kB / 0.6259 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.3066, allocations: 0.6527 MB / 0.6265 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.3083, allocations: 0.9177 MB / 0.6274 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.3084, allocations: 7.984 kB / 0.6274 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002322/0.3107, allocations: 1.071 MB / 0.6285 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.3107, allocations: 8 kB / 0.6285 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.3107, allocations: 8.844 kB / 0.6285 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-05/0.3108, allocations: 15.94 kB / 0.6285 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009169/0.3117, allocations: 231.7 kB / 0.6287 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/0.3117, allocations: 19.88 kB / 0.6287 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.313, allocations: 79.91 kB / 0.6288 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.598e-05/0.3131, allocations: 36 kB / 0.6289 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001309/0.3144, allocations: 0.5877 MB / 0.6294 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009067/0.3153, allocations: 0.6318 MB / 0.63 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00141/0.3167, allocations: 0.8825 MB / 0.6309 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.567e-06/0.3168, allocations: 0 / 0.6309 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.001922/0.3187, allocations: 1.028 MB / 0.6319 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3187, allocations: 8 kB / 0.6319 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3187, allocations: 8 kB / 0.6319 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.3187, allocations: 12 kB / 0.6319 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008004/0.3195, allocations: 220.1 kB / 0.6321 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.3196, allocations: 23.88 kB / 0.6322 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.3207, allocations: 75.92 kB / 0.6322 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/0.3208, allocations: 39.98 kB / 0.6323 GB, free: 5.551 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.0002888/0.3211, allocations: 239.9 kB / 0.6325 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.3213, allocations: 142.3 kB / 0.6326 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.3234, allocations: 0.9338 MB / 0.6336 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.3235, allocations: 8 kB / 0.6336 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/0.3235, allocations: 0 / 0.6336 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001649/0.3251, allocations: 0.8373 MB / 0.6344 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004507/0.3297, allocations: 2.486 MB / 0.6368 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.3297, allocations: 4 kB / 0.6368 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007025/0.3304, allocations: 156.2 kB / 0.637 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002027/0.3306, allocations: 93.55 kB / 0.6371 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-05/0.3307, allocations: 23.98 kB / 0.6371 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2864/0.6171, allocations: 1.157 MB / 0.6382 GB, free: 126 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.6171, allocations: 9 kB / 0.6382 GB, free: 126 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/0.6205, allocations: 1.502 MB / 0.6397 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.6216, allocations: 306.7 kB / 0.64 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/0.6218, allocations: 21.52 kB / 0.64 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.6229, allocations: 63.64 kB / 0.6401 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.6231, allocations: 66.67 kB / 0.6401 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.531e-05/0.6232, allocations: 34.48 kB / 0.6402 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001457/0.6247, allocations: 0.8946 MB / 0.641 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6247, allocations: 0 / 0.641 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002099/0.6268, allocations: 0.6394 MB / 0.6417 GB, free: 125.4 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.0008357/0.6276, allocations: 370 kB / 0.642 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002931/0.6306, allocations: 1.288 MB / 0.6433 GB, free: 125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.066e-06/0.6306, allocations: 1.375 kB / 0.6433 GB, free: 125 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.6316, allocations: 429 kB / 0.6437 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003895/0.6355, allocations: 0.875 MB / 0.6445 GB, free: 124.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/0.6394, allocations: 2.422 MB / 0.6469 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006977/0.6402, allocations: 1.195 MB / 0.6481 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001385/0.6416, allocations: 323.4 kB / 0.6484 GB, free: 122.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.6419, allocations: 115.6 kB / 0.6485 GB, free: 122.6 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.6419, allocations: 5.375 kB / 0.6485 GB, free: 122.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.04397/0.6859, allocations: 31.86 MB / 0.6796 GB, free: 96.07 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)