Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001179/0.001179, allocations: 102.8 kB / 15.98 MB, free: 6.344 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.001216/0.001216, allocations: 194.2 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7455/0.7455, allocations: 122.9 MB / 413.6 MB, free: 36 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.91 kB / 0.4906 GB, free: 7.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3656, allocations: 77.92 MB / 0.5667 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.05404/0.4197, allocations: 60.64 MB / 0.6259 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01702/0.4367, allocations: 11.91 MB / 0.6375 GB, free: 2.27 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002538/0.4393, allocations: 55.62 kB / 0.6376 GB, free: 2.215 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002267/0.4416, allocations: 0.579 MB / 0.6381 GB, free: 1.633 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006105/0.4478, allocations: 1.822 MB / 0.6399 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003769/0.4516, allocations: 1.104 MB / 0.641 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005005/0.4566, allocations: 3.106 MB / 0.644 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.4584, allocations: 1.09 MB / 0.6451 GB, free: 10.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003393/0.4618, allocations: 1.329 MB / 0.6464 GB, free: 9.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.4633, allocations: 0.9256 MB / 0.6473 GB, free: 8.215 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002344/0.4635, allocations: 116 kB / 0.6474 GB, free: 8.102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.4668, allocations: 1.462 MB / 0.6488 GB, free: 6.637 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003638/0.4672, allocations: 294.8 kB / 0.6491 GB, free: 6.348 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009979/0.4682, allocations: 0.7036 MB / 0.6498 GB, free: 5.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0037/0.4719, allocations: 2.283 MB / 0.652 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4719, allocations: 0 / 0.652 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.4719, allocations: 0 / 0.652 GB, free: 3.352 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.188e-05/0.472, allocations: 3.938 kB / 0.652 GB, free: 3.348 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003294/0.4753, allocations: 1.715 MB / 0.6537 GB, free: 1.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/0.4753, allocations: 16.61 kB / 0.6537 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/0.4776, allocations: 406.8 kB / 0.6541 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002221/0.4798, allocations: 1.128 MB / 0.6552 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003531/0.4802, allocations: 113.9 kB / 0.6553 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.4803, allocations: 76 kB / 0.6554 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.4824, allocations: 0.9894 MB / 0.6564 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.4824, allocations: 4 kB / 0.6564 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.221e-05/0.4825, allocations: 28 kB / 0.6564 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.4825, allocations: 23.98 kB / 0.6564 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/0.4848, allocations: 0.8548 MB / 0.6573 GB, free: 13.84 MB / 0.4981 GB 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.006905/0.4917, allocations: 4.836 MB / 0.662 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003365/0.4951, allocations: 0.7967 MB / 0.6628 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007126/0.4958, allocations: 304.7 kB / 0.663 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006748/0.4965, allocations: 0.9064 MB / 0.6639 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.4965, allocations: 42.5 kB / 0.664 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.765e-06/0.4965, allocations: 0 / 0.664 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.007297/0.5038, allocations: 1.754 MB / 0.6657 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.5039, allocations: 59.41 kB / 0.6657 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.5057, allocations: 1.051 MB / 0.6668 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.5059, allocations: 37.7 kB / 0.6668 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004454/0.5063, allocations: 0.5197 MB / 0.6673 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.5065, allocations: 153.8 kB / 0.6675 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.5067, allocations: 126 kB / 0.6676 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.5068, allocations: 333.8 kB / 0.6679 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008901/0.5077, allocations: 302.9 kB / 0.6682 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.5088, allocations: 0.5101 MB / 0.6687 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.5104, allocations: 0.6772 MB / 0.6693 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.5105, allocations: 4 kB / 0.6693 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003847/0.5143, allocations: 1.133 MB / 0.6705 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.5144, allocations: 10.34 kB / 0.6705 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.5144, allocations: 4 kB / 0.6705 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.5157, allocations: 305 kB / 0.6708 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005723/0.5163, allocations: 119.8 kB / 0.6709 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.5179, allocations: 0.9141 MB / 0.6718 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.5194, allocations: 171.2 kB / 0.6719 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.155e-05/0.5195, allocations: 35.92 kB / 0.672 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00126/0.5208, allocations: 0.501 MB / 0.6725 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001042/0.5218, allocations: 0.4981 MB / 0.6729 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001607/0.5234, allocations: 0.6717 MB / 0.6736 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.086e-06/0.5234, allocations: 0 / 0.6736 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.003674/0.5271, allocations: 1.121 MB / 0.6747 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.5272, allocations: 8 kB / 0.6747 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5272, allocations: 7.938 kB / 0.6747 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.5283, allocations: 309 kB / 0.675 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/0.5289, allocations: 111.9 kB / 0.6751 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.5303, allocations: 0.9036 MB / 0.676 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.5318, allocations: 155.5 kB / 0.6761 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.121e-05/0.5319, allocations: 27.98 kB / 0.6762 GB, free: 9.449 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000286/0.5322, allocations: 220 kB / 0.6764 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.5324, allocations: 106.8 kB / 0.6765 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/0.5349, allocations: 0.9377 MB / 0.6774 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.5349, allocations: 8 kB / 0.6774 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.5349, allocations: 7.922 kB / 0.6774 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.5349, allocations: 0 / 0.6774 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005281/0.5402, allocations: 2.155 MB / 0.6795 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.5403, allocations: 4 kB / 0.6795 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.5405, allocations: 59.89 kB / 0.6796 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/0.5416, allocations: 304.8 kB / 0.6799 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/0.5416, allocations: 15.98 kB / 0.6799 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.5431, allocations: 0.9385 MB / 0.6808 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.5431, allocations: 8.016 kB / 0.6808 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00362/0.5467, allocations: 1.17 MB / 0.6819 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005231/0.5472, allocations: 259.5 kB / 0.6822 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.5474, allocations: 15.98 kB / 0.6822 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009832/0.5484, allocations: 91.89 kB / 0.6823 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.5485, allocations: 39.89 kB / 0.6823 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.127e-05/0.5486, allocations: 23.98 kB / 0.6824 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001234/0.5499, allocations: 0.7352 MB / 0.6831 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5499, allocations: 4 kB / 0.6831 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001678/0.5515, allocations: 0.5574 MB / 0.6836 GB, free: 1.598 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008603/0.5524, allocations: 397.1 kB / 0.684 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00343/0.5559, allocations: 1.118 MB / 0.6851 GB, free: 104 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5559, allocations: 0 / 0.6851 GB, free: 104 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008727/0.5568, allocations: 347.1 kB / 0.6854 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/0.5592, allocations: 0.4998 MB / 0.6859 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005811/0.5651, allocations: 2.435 MB / 0.6883 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009596/0.5661, allocations: 1.061 MB / 0.6893 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00111/0.5672, allocations: 226.4 kB / 0.6895 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.5674, allocations: 79.42 kB / 0.6896 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.5674, allocations: 0 / 0.6896 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of Templates: time 0.04251/0.6099, allocations: 24.44 MB / 0.7135 GB, free: 3.277 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)