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.01012/0.01012, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.002112/0.002112, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.598/1.598, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3944/0.3944, allocations: 54.95 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.001478/0.001478, allocations: 66.12 kB / 456.3 MB, free: 38.31 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1232, allocations: 59.6 MB / 0.5038 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Examples.Carnot_y): time 0.07279/0.1961, allocations: 74.46 MB / 0.5765 GB, free: 232 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01847/0.2146, allocations: 11.79 MB / 0.588 GB, free: 4.398 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003482/0.2181, allocations: 63.62 kB / 0.5881 GB, free: 4.336 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003524/0.2217, allocations: 0.9242 MB / 0.589 GB, free: 3.406 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009629/0.2314, allocations: 2.525 MB / 0.5914 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004918/0.2363, allocations: 1.248 MB / 0.5926 GB, free: 15.63 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0107/0.247, allocations: 4.354 MB / 0.5969 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003699/0.2508, allocations: 1.39 MB / 0.5983 GB, free: 9.84 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006889/0.2577, allocations: 1.726 MB / 0.5999 GB, free: 8.113 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003381/0.2611, allocations: 1.264 MB / 0.6012 GB, free: 6.844 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007401/0.2619, allocations: 168 kB / 0.6013 GB, free: 6.68 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004185/0.2661, allocations: 1.236 MB / 0.6025 GB, free: 5.441 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008818/0.267, allocations: 410.5 kB / 0.6029 GB, free: 5.039 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00274/0.2697, allocations: 0.9411 MB / 0.6039 GB, free: 4.094 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006409/0.2762, allocations: 2.836 MB / 0.6066 GB, free: 1.25 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2762, allocations: 0 / 0.6066 GB, free: 1.25 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.2762, allocations: 0 / 0.6066 GB, free: 1.25 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001251/0.2763, allocations: 0 / 0.6066 GB, free: 1.25 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.007618/0.284, allocations: 2.098 MB / 0.6087 GB, free: 15.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.284, allocations: 12.03 kB / 0.6087 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/0.286, allocations: 246.7 kB / 0.6089 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004428/0.2905, allocations: 1.461 MB / 0.6103 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.2906, allocations: 86.09 kB / 0.6104 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003161/0.2909, allocations: 111.9 kB / 0.6105 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004306/0.2952, allocations: 1.374 MB / 0.6119 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.267e-05/0.2953, allocations: 4 kB / 0.6119 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.2955, allocations: 48 kB / 0.6119 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.458e-05/0.2956, allocations: 35.94 kB / 0.612 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0038/0.2994, allocations: 1.038 MB / 0.613 GB, free: 10.49 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.01257/0.312, allocations: 6.559 MB / 0.6194 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002886/0.315, allocations: 0.6277 MB / 0.62 GB, free: 2.902 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.3161, allocations: 338.8 kB / 0.6203 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005233/0.3167, allocations: 341 kB / 0.6206 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.036e-05/0.3167, allocations: 43.06 kB / 0.6207 GB, free: 2.109 MB / 494.1 MB Notification: Performance of pre-optimization done (n=63): time 4.338e-06/0.3167, allocations: 0 / 0.6207 GB, free: 2.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=67): time 0.01058/0.3273, allocations: 2.308 MB / 0.6229 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.3275, allocations: 166.8 kB / 0.6231 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002708/0.3303, allocations: 1.263 MB / 0.6243 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.3304, allocations: 41.7 kB / 0.6244 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008305/0.3313, allocations: 0.6526 MB / 0.625 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003649/0.3317, allocations: 232.7 kB / 0.6252 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004353/0.3321, allocations: 186.5 kB / 0.6254 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.3323, allocations: 341.9 kB / 0.6257 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.3334, allocations: 328.6 kB / 0.626 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.3347, allocations: 0.6591 MB / 0.6267 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/0.3365, allocations: 0.9371 MB / 0.6276 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.3365, allocations: 8 kB / 0.6276 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00259/0.3391, allocations: 1.067 MB / 0.6287 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.3392, allocations: 8 kB / 0.6287 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.3392, allocations: 8 kB / 0.6287 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.471e-05/0.3392, allocations: 15.94 kB / 0.6287 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009364/0.3402, allocations: 232.2 kB / 0.6289 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.497e-05/0.3402, allocations: 19.92 kB / 0.6289 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.3414, allocations: 67.92 kB / 0.629 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/0.3415, allocations: 43.98 kB / 0.629 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001282/0.3428, allocations: 0.5877 MB / 0.6296 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000957/0.3438, allocations: 0.6253 MB / 0.6302 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00157/0.3454, allocations: 0.8787 MB / 0.6311 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.025e-06/0.3454, allocations: 4 kB / 0.6311 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002199/0.3476, allocations: 1.033 MB / 0.6321 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3476, allocations: 8 kB / 0.6321 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.3477, allocations: 8 kB / 0.6321 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3477, allocations: 12 kB / 0.6321 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008609/0.3485, allocations: 219.6 kB / 0.6323 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.95e-05/0.3486, allocations: 23.86 kB / 0.6323 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.3499, allocations: 80.02 kB / 0.6324 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.133e-05/0.35, allocations: 36 kB / 0.6325 GB, free: 5.391 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.0003391/0.3503, allocations: 240 kB / 0.6327 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004219/0.3507, allocations: 138.3 kB / 0.6328 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/0.3531, allocations: 0.9377 MB / 0.6337 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.3532, allocations: 11.94 kB / 0.6337 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.3532, allocations: 0 / 0.6337 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001745/0.3549, allocations: 0.8412 MB / 0.6346 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005442/0.3604, allocations: 2.487 MB / 0.637 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.3604, allocations: 4 kB / 0.637 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006994/0.3611, allocations: 159.8 kB / 0.6371 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002377/0.3614, allocations: 85.66 kB / 0.6372 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.945e-05/0.3614, allocations: 20.17 kB / 0.6372 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4106/0.772, allocations: 1.155 MB / 0.6384 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/0.7721, allocations: 7.812 kB / 0.6384 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003326/0.7754, allocations: 1.496 MB / 0.6398 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007456/0.7762, allocations: 310.1 kB / 0.6401 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.7764, allocations: 24.09 kB / 0.6402 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009055/0.7773, allocations: 66.78 kB / 0.6402 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.7775, allocations: 63.67 kB / 0.6403 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-05/0.7776, allocations: 33.77 kB / 0.6403 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001582/0.7792, allocations: 0.8939 MB / 0.6412 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7792, allocations: 0 / 0.6412 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002261/0.7814, allocations: 0.6381 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.0009655/0.7824, allocations: 374 kB / 0.6422 GB, free: 125.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003201/0.7856, allocations: 1.295 MB / 0.6434 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.7857, allocations: 3.5 kB / 0.6434 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.7867, allocations: 421.3 kB / 0.6438 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003797/0.7906, allocations: 0.8775 MB / 0.6447 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005003/0.7956, allocations: 2.42 MB / 0.6471 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.7966, allocations: 1.193 MB / 0.6482 GB, free: 122.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001594/0.7982, allocations: 324.4 kB / 0.6485 GB, free: 122.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/0.7985, allocations: 119.7 kB / 0.6487 GB, free: 122.4 MB / 0.4981 GB Notification: Performance of SimCode: time 8.32e-07/0.7986, allocations: 3.938 kB / 0.6487 GB, free: 122.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.04469/0.8432, allocations: 31.34 MB / 0.6793 GB, free: 96.43 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)