Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.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_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Annex60.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001592, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002234/0.002235, allocations: 196.6 kB / 16.14 MB, free: 6.703 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.59/1.59, allocations: 205.1 MB / 222 MB, free: 4.953 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4064/0.4064, allocations: 54.92 MB / 324.3 MB, free: 15.99 MB / 270.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.001353/0.001353, allocations: 72.47 kB / 394.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1282, allocations: 59.58 MB / 454.2 MB, free: 0.707 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Examples.Carnot_TEva): time 0.259/0.3872, allocations: 60.11 MB / 0.5023 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.018/0.4053, allocations: 11.31 MB / 0.5133 GB, free: 6.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002397/0.4077, allocations: 43.53 kB / 0.5134 GB, free: 6.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002181/0.4099, allocations: 0.606 MB / 0.514 GB, free: 6.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00775/0.4177, allocations: 1.775 MB / 0.5157 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003839/0.4216, allocations: 0.9021 MB / 0.5166 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006452/0.428, allocations: 3.963 MB / 0.5204 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.4299, allocations: 0.8998 MB / 0.5213 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003227/0.4332, allocations: 1.251 MB / 0.5225 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/0.4352, allocations: 0.9744 MB / 0.5235 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.4354, allocations: 59.16 kB / 0.5235 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/0.4381, allocations: 1.104 MB / 0.5246 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003351/0.4384, allocations: 245 kB / 0.5249 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.4397, allocations: 0.6792 MB / 0.5255 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004266/0.4439, allocations: 2.169 MB / 0.5276 GB, free: 276 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4439, allocations: 0 / 0.5276 GB, free: 276 kB / 398.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.444, allocations: 0 / 0.5276 GB, free: 276 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.444, allocations: 1.156 kB / 0.5276 GB, free: 276 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003478/0.4475, allocations: 1.742 MB / 0.5293 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.4475, allocations: 9.188 kB / 0.5294 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002619/0.4502, allocations: 463 kB / 0.5298 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/0.4524, allocations: 1.118 MB / 0.5309 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003449/0.4528, allocations: 121.6 kB / 0.531 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.4529, allocations: 87.12 kB / 0.5311 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.4556, allocations: 1.224 MB / 0.5323 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.4557, allocations: 5.25 kB / 0.5323 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.825e-05/0.4558, allocations: 38.66 kB / 0.5323 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/0.4558, allocations: 25.31 kB / 0.5323 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002833/0.4587, allocations: 0.9863 MB / 0.5333 GB, free: 12.39 MB / 414.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.006758/0.4654, allocations: 5.852 MB / 0.539 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.4675, allocations: 0.6685 MB / 0.5397 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006621/0.4682, allocations: 257.3 kB / 0.5399 GB, free: 5.238 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003045/0.4685, allocations: 417.8 kB / 0.5403 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.4685, allocations: 46.89 kB / 0.5404 GB, free: 4.684 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.653e-06/0.4686, allocations: 0 / 0.5404 GB, free: 4.684 MB / 414.1 MB Notification: Performance of matching and sorting (n=39): time 0.008594/0.4772, allocations: 1.885 MB / 0.5422 GB, free: 2.773 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.4773, allocations: 158.2 kB / 0.5424 GB, free: 2.582 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/0.4796, allocations: 1.141 MB / 0.5435 GB, free: 1.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001874/0.4798, allocations: 33.7 kB / 0.5435 GB, free: 1.391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005628/0.4804, allocations: 0.5929 MB / 0.5441 GB, free: 0.793 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.4805, allocations: 138 kB / 0.5442 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.4808, allocations: 158.1 kB / 0.5444 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.481, allocations: 334 kB / 0.5447 GB, free: 168 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009604/0.482, allocations: 335.2 kB / 0.545 GB, free: 15.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.4831, allocations: 0.6312 MB / 0.5456 GB, free: 15.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.485, allocations: 0.8117 MB / 0.5464 GB, free: 14.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.485, allocations: 0 / 0.5464 GB, free: 14.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002883/0.4879, allocations: 1.104 MB / 0.5475 GB, free: 13.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.4879, allocations: 8.688 kB / 0.5475 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.4879, allocations: 8 kB / 0.5475 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009076/0.4889, allocations: 254.1 kB / 0.5477 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/0.4896, allocations: 168.9 kB / 0.5479 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.4908, allocations: 0.8566 MB / 0.5487 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.4924, allocations: 214.9 kB / 0.549 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.858e-05/0.4925, allocations: 28.86 kB / 0.549 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00116/0.4936, allocations: 0.5168 MB / 0.5495 GB, free: 10.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009978/0.4946, allocations: 0.6079 MB / 0.5501 GB, free: 10.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001545/0.4962, allocations: 0.7647 MB / 0.5508 GB, free: 9.352 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.986e-06/0.4962, allocations: 0 / 0.5508 GB, free: 9.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.00251/0.4987, allocations: 1.054 MB / 0.5519 GB, free: 8.289 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.4987, allocations: 11.98 kB / 0.5519 GB, free: 8.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4988, allocations: 8 kB / 0.5519 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008158/0.4996, allocations: 261.7 kB / 0.5521 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006108/0.5002, allocations: 155.7 kB / 0.5523 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.5015, allocations: 0.8497 MB / 0.5531 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.5029, allocations: 171.4 kB / 0.5533 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.138e-05/0.503, allocations: 32 kB / 0.5533 GB, free: 6.785 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002353/0.5032, allocations: 227.9 kB / 0.5535 GB, free: 6.555 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.5034, allocations: 118.6 kB / 0.5536 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/0.5057, allocations: 0.8102 MB / 0.5544 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.5057, allocations: 5.125 kB / 0.5544 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5057, allocations: 0 / 0.5544 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.5057, allocations: 3.938 kB / 0.5544 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003612/0.5093, allocations: 1.869 MB / 0.5562 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.5093, allocations: 4 kB / 0.5563 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003592/0.5097, allocations: 71.86 kB / 0.5563 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008174/0.5105, allocations: 253.2 kB / 0.5566 GB, free: 3.336 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.5106, allocations: 19.98 kB / 0.5566 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.5118, allocations: 0.8443 MB / 0.5574 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.5118, allocations: 12.03 kB / 0.5574 GB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004189/0.516, allocations: 1.233 MB / 0.5586 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004526/0.5165, allocations: 259.5 kB / 0.5589 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.5167, allocations: 12 kB / 0.5589 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000998/0.5177, allocations: 107.8 kB / 0.559 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/0.5178, allocations: 31.95 kB / 0.559 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/0.5178, allocations: 19.98 kB / 0.559 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001104/0.5189, allocations: 0.7915 MB / 0.5598 GB, free: 15.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 3e-07/0.5189, allocations: 0 / 0.5598 GB, free: 15.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001457/0.5204, allocations: 0.5458 MB / 0.5603 GB, free: 15.37 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005119/0.5209, allocations: 283 kB / 0.5606 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003108/0.5241, allocations: 1.164 MB / 0.5617 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.5241, allocations: 0.5 kB / 0.5617 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008476/0.5249, allocations: 324.2 kB / 0.5621 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/0.5274, allocations: 0.5455 MB / 0.5626 GB, free: 13.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005253/0.5326, allocations: 2.398 MB / 0.5649 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005715/0.5332, allocations: 1.058 MB / 0.566 GB, free: 9.539 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001277/0.5345, allocations: 243 kB / 0.5662 GB, free: 9.309 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.5348, allocations: 87.41 kB / 0.5663 GB, free: 9.223 MB / 446.1 MB Notification: Performance of SimCode: time 2.645e-06/0.5348, allocations: 0 / 0.5663 GB, free: 9.223 MB / 446.1 MB Notification: Performance of Templates: time 0.0398/0.5746, allocations: 23.27 MB / 0.589 GB, free: 2.176 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)