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.001093/0.001093, allocations: 113.2 kB / 17.04 MB, free: 6.074 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.001165/0.001166, allocations: 195 kB / 17.98 MB, free: 5.16 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.414/1.414, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7557/0.7557, allocations: 115.1 MB / 406.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 63.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3443, allocations: 76.13 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05363/0.398, allocations: 61.18 MB / 0.6173 GB, free: 7.258 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01675/0.4147, allocations: 11.98 MB / 0.629 GB, free: 11.24 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/0.417, allocations: 55.69 kB / 0.6291 GB, free: 11.18 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.4191, allocations: 0.6868 MB / 0.6297 GB, free: 10.49 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005554/0.4247, allocations: 1.963 MB / 0.6316 GB, free: 8.52 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003454/0.4282, allocations: 1.215 MB / 0.6328 GB, free: 7.316 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004818/0.433, allocations: 3.079 MB / 0.6358 GB, free: 4.23 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001874/0.4349, allocations: 1.133 MB / 0.6369 GB, free: 3.062 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004087/0.439, allocations: 1.325 MB / 0.6382 GB, free: 1.738 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.4408, allocations: 0.9257 MB / 0.6391 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002545/0.4411, allocations: 119.9 kB / 0.6393 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003001/0.4441, allocations: 1.447 MB / 0.6407 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003682/0.4445, allocations: 298.8 kB / 0.641 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009165/0.4454, allocations: 0.7075 MB / 0.6416 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003823/0.4492, allocations: 2.329 MB / 0.6439 GB, free: 11.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4492, allocations: 0 / 0.6439 GB, free: 11.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.037e-06/0.4493, allocations: 4 kB / 0.6439 GB, free: 11.9 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.02e-05/0.4493, allocations: 3.938 kB / 0.6439 GB, free: 11.9 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.003262/0.4526, allocations: 1.738 MB / 0.6456 GB, free: 10.1 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.4526, allocations: 8.031 kB / 0.6456 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00253/0.4552, allocations: 458.7 kB / 0.6461 GB, free: 9.645 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002534/0.4577, allocations: 1.179 MB / 0.6472 GB, free: 8.406 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.883e-05/0.4578, allocations: 62 kB / 0.6473 GB, free: 8.348 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.458, allocations: 84 kB / 0.6474 GB, free: 8.266 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/0.4601, allocations: 1.006 MB / 0.6483 GB, free: 7.227 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.4601, allocations: 0 / 0.6483 GB, free: 7.227 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.546e-05/0.4602, allocations: 28 kB / 0.6484 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.4602, allocations: 20 kB / 0.6484 GB, free: 7.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002427/0.4626, allocations: 0.9329 MB / 0.6493 GB, free: 6.25 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.006376/0.469, allocations: 4.661 MB / 0.6539 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003996/0.473, allocations: 0.9924 MB / 0.6548 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.4741, allocations: 403.6 kB / 0.6552 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009332/0.4751, allocations: 1.025 MB / 0.6562 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.4751, allocations: 38.94 kB / 0.6562 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.355e-06/0.4751, allocations: 0 / 0.6562 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.007555/0.4827, allocations: 1.912 MB / 0.6581 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.4827, allocations: 59.78 kB / 0.6582 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.484, allocations: 0.9474 MB / 0.6591 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.238e-05/0.4841, allocations: 37.7 kB / 0.6591 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.4845, allocations: 0.508 MB / 0.6596 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.4846, allocations: 193.3 kB / 0.6598 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.4849, allocations: 130.1 kB / 0.6599 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.485, allocations: 326 kB / 0.6602 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009809/0.486, allocations: 354.8 kB / 0.6606 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.4871, allocations: 0.5069 MB / 0.6611 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001918/0.489, allocations: 0.7463 MB / 0.6618 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.489, allocations: 4 kB / 0.6618 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002795/0.4918, allocations: 1.053 MB / 0.6628 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4918, allocations: 8 kB / 0.6628 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4919, allocations: 7.938 kB / 0.6629 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.4931, allocations: 304.9 kB / 0.6631 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/0.4937, allocations: 131.8 kB / 0.6633 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.4951, allocations: 0.8958 MB / 0.6641 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009845/0.4961, allocations: 119.3 kB / 0.6643 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.87e-05/0.4961, allocations: 27.98 kB / 0.6643 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001262/0.4974, allocations: 0.5556 MB / 0.6648 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001078/0.4985, allocations: 0.5006 MB / 0.6653 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001904/0.5004, allocations: 0.7423 MB / 0.666 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.324e-06/0.5004, allocations: 0 / 0.666 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002788/0.5032, allocations: 1.049 MB / 0.6671 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.5033, allocations: 11.98 kB / 0.6671 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5033, allocations: 0 / 0.6671 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.5044, allocations: 291.1 kB / 0.6674 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.505, allocations: 135.8 kB / 0.6675 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.5064, allocations: 0.8995 MB / 0.6684 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009827/0.5074, allocations: 103.6 kB / 0.6685 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.602e-05/0.5075, allocations: 31.98 kB / 0.6685 GB, free: 1.645 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.0002565/0.5077, allocations: 222.6 kB / 0.6687 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.5079, allocations: 110.7 kB / 0.6688 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003112/0.5111, allocations: 1.146 MB / 0.6699 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.5111, allocations: 8 kB / 0.6699 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.5111, allocations: 0 / 0.6699 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.5111, allocations: 3.984 kB / 0.6699 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004526/0.5157, allocations: 2.237 MB / 0.6721 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.5157, allocations: 3.938 kB / 0.6721 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000556/0.5162, allocations: 104 kB / 0.6722 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009699/0.5172, allocations: 292.5 kB / 0.6725 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.054e-05/0.5173, allocations: 23.98 kB / 0.6725 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.5187, allocations: 0.9177 MB / 0.6734 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.5188, allocations: 7.969 kB / 0.6734 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003527/0.5223, allocations: 1.292 MB / 0.6747 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004979/0.5228, allocations: 275.5 kB / 0.675 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.523, allocations: 16 kB / 0.675 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008486/0.5238, allocations: 75.91 kB / 0.675 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.249e-05/0.5239, allocations: 40.33 kB / 0.6751 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.511e-05/0.524, allocations: 27.92 kB / 0.6751 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008819/0.5249, allocations: 0.6676 MB / 0.6758 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5249, allocations: 0 / 0.6758 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001392/0.5263, allocations: 0.5769 MB / 0.6763 GB, free: 9.441 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.0007483/0.527, allocations: 381.5 kB / 0.6767 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00356/0.5306, allocations: 1.299 MB / 0.678 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.5306, allocations: 0 / 0.678 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.5319, allocations: 460.8 kB / 0.6784 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/0.534, allocations: 0.4916 MB / 0.6789 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.5378, allocations: 1.894 MB / 0.6807 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005979/0.5384, allocations: 1.066 MB / 0.6818 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009237/0.5394, allocations: 232.1 kB / 0.682 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.5396, allocations: 83.36 kB / 0.6821 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of SimCode: time 7.31e-07/0.5396, allocations: 4 kB / 0.6821 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of Templates: time 0.03738/0.577, allocations: 24.65 MB / 0.7062 GB, free: 11.14 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)