Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 105.9 kB / 15.98 MB, free: 6.355 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.001568/0.001568, allocations: 192.1 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 13.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7554/0.7554, allocations: 122.9 MB / 413.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001256, allocations: 59.91 kB / 0.4906 GB, free: 7.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3916, allocations: 77.93 MB / 0.5667 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.05716/0.4488, allocations: 60.66 MB / 0.626 GB, free: 14.13 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01834/0.4672, allocations: 11.91 MB / 0.6376 GB, free: 2.188 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002883/0.4701, allocations: 51.69 kB / 0.6376 GB, free: 2.137 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002022/0.4722, allocations: 0.5828 MB / 0.6382 GB, free: 1.551 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006999/0.4792, allocations: 1.832 MB / 0.64 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003281/0.4825, allocations: 1.099 MB / 0.6411 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004781/0.4873, allocations: 3.098 MB / 0.6441 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.4892, allocations: 1.09 MB / 0.6452 GB, free: 10.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004105/0.4933, allocations: 1.345 MB / 0.6465 GB, free: 9.051 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.4947, allocations: 0.9334 MB / 0.6474 GB, free: 8.113 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.4949, allocations: 120 kB / 0.6475 GB, free: 7.996 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/0.498, allocations: 1.489 MB / 0.6489 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003084/0.4983, allocations: 302.8 kB / 0.6492 GB, free: 6.207 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007665/0.4991, allocations: 0.6919 MB / 0.6499 GB, free: 5.512 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003908/0.503, allocations: 2.314 MB / 0.6522 GB, free: 3.191 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.503, allocations: 0 / 0.6522 GB, free: 3.191 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.503, allocations: 0 / 0.6522 GB, free: 3.191 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.259e-05/0.5031, allocations: 0 / 0.6522 GB, free: 3.191 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.003754/0.5068, allocations: 1.734 MB / 0.6539 GB, free: 1.395 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.332e-05/0.5069, allocations: 8.625 kB / 0.6539 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.5086, allocations: 347 kB / 0.6542 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.5107, allocations: 1.125 MB / 0.6553 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003391/0.5111, allocations: 117.8 kB / 0.6554 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.5112, allocations: 80 kB / 0.6555 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.5131, allocations: 0.9572 MB / 0.6564 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.5131, allocations: 0 / 0.6564 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.074e-05/0.5132, allocations: 36 kB / 0.6565 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.5132, allocations: 20 kB / 0.6565 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.5152, allocations: 0.804 MB / 0.6573 GB, free: 13.81 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.006328/0.5215, allocations: 4.75 MB / 0.6619 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.5231, allocations: 0.5776 MB / 0.6625 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005958/0.5237, allocations: 276.7 kB / 0.6627 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/0.5252, allocations: 1.373 MB / 0.6641 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.5252, allocations: 34.56 kB / 0.6641 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 4.829e-06/0.5252, allocations: 0 / 0.6641 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.006181/0.5314, allocations: 1.559 MB / 0.6656 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.5315, allocations: 55.41 kB / 0.6657 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.5332, allocations: 1.051 MB / 0.6667 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.441e-05/0.5333, allocations: 33.7 kB / 0.6667 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/0.5337, allocations: 0.5197 MB / 0.6672 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.5339, allocations: 153.8 kB / 0.6674 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.5342, allocations: 134 kB / 0.6675 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.5344, allocations: 322 kB / 0.6678 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007707/0.5351, allocations: 278.9 kB / 0.6681 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009752/0.5361, allocations: 475.6 kB / 0.6685 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.5375, allocations: 0.6186 MB / 0.6691 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.5376, allocations: 11.94 kB / 0.6692 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002359/0.5399, allocations: 0.926 MB / 0.6701 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.54, allocations: 4 kB / 0.6701 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.54, allocations: 4 kB / 0.6701 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.5413, allocations: 317 kB / 0.6704 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004582/0.5418, allocations: 111.9 kB / 0.6705 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.5433, allocations: 0.9143 MB / 0.6714 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.5445, allocations: 159.2 kB / 0.6715 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.576e-05/0.5446, allocations: 39.98 kB / 0.6716 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001129/0.5458, allocations: 489.7 kB / 0.672 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000936/0.5467, allocations: 467.7 kB / 0.6725 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001401/0.5481, allocations: 0.6152 MB / 0.6731 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.857e-06/0.5481, allocations: 0 / 0.6731 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002436/0.5506, allocations: 0.918 MB / 0.674 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.5506, allocations: 11.92 kB / 0.674 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.5506, allocations: 4.406 kB / 0.674 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.5518, allocations: 316.6 kB / 0.6743 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/0.5523, allocations: 103.8 kB / 0.6744 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.5538, allocations: 0.9075 MB / 0.6753 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.555, allocations: 143.5 kB / 0.6754 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.431e-05/0.5551, allocations: 31.98 kB / 0.6754 GB, free: 10.09 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.00026/0.5554, allocations: 216.1 kB / 0.6757 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.5556, allocations: 110.7 kB / 0.6758 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/0.558, allocations: 0.9122 MB / 0.6766 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.558, allocations: 7.938 kB / 0.6767 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.5581, allocations: 0 / 0.6767 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.5581, allocations: 3.984 kB / 0.6767 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006208/0.5643, allocations: 2.245 MB / 0.6789 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.5643, allocations: 0 / 0.6789 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.5645, allocations: 55.91 kB / 0.6789 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00106/0.5656, allocations: 303 kB / 0.6792 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.5657, allocations: 16 kB / 0.6792 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/0.5672, allocations: 0.9502 MB / 0.6801 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5672, allocations: 4 kB / 0.6801 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004116/0.5713, allocations: 1.251 MB / 0.6814 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005294/0.5719, allocations: 263.5 kB / 0.6816 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002476/0.5721, allocations: 15.94 kB / 0.6816 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009681/0.5731, allocations: 91.8 kB / 0.6817 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/0.5732, allocations: 35.95 kB / 0.6818 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.324e-05/0.5733, allocations: 23.98 kB / 0.6818 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001481/0.5748, allocations: 0.7313 MB / 0.6825 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5748, allocations: 0 / 0.6825 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001927/0.5767, allocations: 0.5809 MB / 0.6831 GB, free: 2.09 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 (34): * Single equations (assignments): 29 * 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.001243/0.578, allocations: 403.2 kB / 0.6834 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003303/0.5813, allocations: 1.039 MB / 0.6845 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/0.5813, allocations: 4 kB / 0.6845 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008629/0.5822, allocations: 318.3 kB / 0.6848 GB, free: 364 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.5847, allocations: 0.5016 MB / 0.6853 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004311/0.5891, allocations: 2.247 MB / 0.6874 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008507/0.5899, allocations: 1.061 MB / 0.6885 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001059/0.591, allocations: 218.4 kB / 0.6887 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.5912, allocations: 79.36 kB / 0.6888 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of SimCode: time 1.542e-06/0.5912, allocations: 0 / 0.6888 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of Templates: time 0.04624/0.6375, allocations: 24.81 MB / 0.713 GB, free: 3.688 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)