Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 109.8 kB / 17.03 MB, free: 5.699 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.001272/0.001272, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.322/1.322, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7094/0.7094, allocations: 115.1 MB / 406.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 63.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3773, allocations: 76.14 MB / 0.5576 GB, free: 36.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05014/0.4275, allocations: 61.17 MB / 0.6173 GB, free: 7.238 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01731/0.4448, allocations: 11.98 MB / 0.629 GB, free: 11.22 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002337/0.4472, allocations: 63.62 kB / 0.6291 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.449, allocations: 0.687 MB / 0.6297 GB, free: 10.47 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005314/0.4543, allocations: 1.965 MB / 0.6316 GB, free: 8.496 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002992/0.4574, allocations: 1.207 MB / 0.6328 GB, free: 7.301 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00389/0.4613, allocations: 3.098 MB / 0.6358 GB, free: 4.199 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.4628, allocations: 1.129 MB / 0.6369 GB, free: 3.035 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00291/0.4657, allocations: 1.315 MB / 0.6382 GB, free: 1.715 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.467, allocations: 0.9227 MB / 0.6391 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.4672, allocations: 120 kB / 0.6392 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.47, allocations: 1.454 MB / 0.6407 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.4703, allocations: 294.9 kB / 0.6409 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00073/0.471, allocations: 0.7036 MB / 0.6416 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003153/0.4742, allocations: 2.337 MB / 0.6439 GB, free: 11.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4742, allocations: 0 / 0.6439 GB, free: 11.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4742, allocations: 0 / 0.6439 GB, free: 11.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.4742, allocations: 0 / 0.6439 GB, free: 11.88 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003072/0.4773, allocations: 1.742 MB / 0.6456 GB, free: 10.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.4773, allocations: 8.031 kB / 0.6456 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002364/0.4797, allocations: 458.8 kB / 0.6461 GB, free: 9.621 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002263/0.482, allocations: 1.175 MB / 0.6472 GB, free: 8.387 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.873e-05/0.4821, allocations: 65.94 kB / 0.6473 GB, free: 8.324 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.4822, allocations: 80 kB / 0.6474 GB, free: 8.246 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.4843, allocations: 0.994 MB / 0.6483 GB, free: 7.219 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.4843, allocations: 7.875 kB / 0.6483 GB, free: 7.211 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.667e-05/0.4844, allocations: 32 kB / 0.6484 GB, free: 7.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.4844, allocations: 24 kB / 0.6484 GB, free: 7.156 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/0.4868, allocations: 0.9329 MB / 0.6493 GB, free: 6.227 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.006116/0.4929, allocations: 4.665 MB / 0.6538 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003752/0.4967, allocations: 0.9847 MB / 0.6548 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.4978, allocations: 412.1 kB / 0.6552 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.4989, allocations: 1.013 MB / 0.6562 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.499, allocations: 42.94 kB / 0.6562 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.274e-06/0.499, allocations: 0 / 0.6562 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.007387/0.5064, allocations: 1.908 MB / 0.6581 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.5064, allocations: 59.78 kB / 0.6582 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.5078, allocations: 0.9552 MB / 0.6591 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.508, allocations: 37.7 kB / 0.6591 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005565/0.5085, allocations: 0.5119 MB / 0.6596 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/0.5088, allocations: 189.3 kB / 0.6598 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.509, allocations: 130.1 kB / 0.6599 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.5092, allocations: 330 kB / 0.6602 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.5103, allocations: 350.9 kB / 0.6606 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.5114, allocations: 0.4991 MB / 0.6611 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/0.5134, allocations: 0.7579 MB / 0.6618 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5134, allocations: 0 / 0.6618 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002963/0.5164, allocations: 1.049 MB / 0.6628 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.5164, allocations: 8 kB / 0.6628 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.5164, allocations: 7.938 kB / 0.6628 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.5176, allocations: 296.9 kB / 0.6631 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/0.5183, allocations: 135.8 kB / 0.6633 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.5197, allocations: 0.8941 MB / 0.6641 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009248/0.5207, allocations: 127.4 kB / 0.6643 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/0.5207, allocations: 35.95 kB / 0.6643 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001328/0.5221, allocations: 0.5518 MB / 0.6648 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001046/0.5231, allocations: 0.5029 MB / 0.6653 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001986/0.5251, allocations: 0.7384 MB / 0.666 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.893e-06/0.5251, allocations: 0 / 0.666 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002845/0.528, allocations: 1.053 MB / 0.6671 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.528, allocations: 8 kB / 0.6671 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.528, allocations: 0 / 0.6671 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009735/0.529, allocations: 292.9 kB / 0.6674 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/0.5297, allocations: 131.8 kB / 0.6675 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.5309, allocations: 0.8937 MB / 0.6684 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009863/0.5319, allocations: 111.7 kB / 0.6685 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.296e-05/0.532, allocations: 27.98 kB / 0.6685 GB, free: 1.625 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (55): * Single equations (assignments): 54 * 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.000264/0.5323, allocations: 220.8 kB / 0.6687 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.5325, allocations: 106.7 kB / 0.6688 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002845/0.5353, allocations: 1.138 MB / 0.6699 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.5353, allocations: 4 kB / 0.6699 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.5353, allocations: 0 / 0.6699 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.5354, allocations: 3.984 kB / 0.6699 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004312/0.5397, allocations: 2.249 MB / 0.6721 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.5397, allocations: 4.031 kB / 0.6721 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005388/0.5402, allocations: 103.8 kB / 0.6722 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009191/0.5412, allocations: 296.5 kB / 0.6725 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.145e-05/0.5412, allocations: 19.98 kB / 0.6725 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.5427, allocations: 0.9277 MB / 0.6734 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5427, allocations: 0 / 0.6734 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003487/0.5462, allocations: 1.304 MB / 0.6747 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/0.5466, allocations: 275.5 kB / 0.675 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.5467, allocations: 12 kB / 0.675 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007817/0.5475, allocations: 75.91 kB / 0.675 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/0.5476, allocations: 36.39 kB / 0.6751 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/0.5477, allocations: 31.91 kB / 0.6751 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009682/0.5487, allocations: 0.6676 MB / 0.6758 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5487, allocations: 0 / 0.6758 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001546/0.5502, allocations: 0.5691 MB / 0.6763 GB, free: 9.426 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007409/0.551, allocations: 390.8 kB / 0.6767 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003506/0.5545, allocations: 1.299 MB / 0.678 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5545, allocations: 0 / 0.678 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.5557, allocations: 456.8 kB / 0.6784 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.5577, allocations: 0.4902 MB / 0.6789 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.5612, allocations: 1.887 MB / 0.6807 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006601/0.5618, allocations: 1.07 MB / 0.6818 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008194/0.5627, allocations: 234.5 kB / 0.682 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.5629, allocations: 83.41 kB / 0.6821 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.5629, allocations: 0 / 0.6821 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of Templates: time 0.0372/0.6001, allocations: 24.66 MB / 0.7061 GB, free: 11.12 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)