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.001159/0.001159, allocations: 104.5 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.001055/0.001055, allocations: 198.7 kB / 16.91 MB, free: 6.188 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.493/1.493, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7969/0.7969, allocations: 122.9 MB / 413.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.89 kB / 0.4906 GB, free: 7.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.4429, allocations: 77.93 MB / 0.5667 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05402/0.497, allocations: 60.66 MB / 0.626 GB, free: 14.17 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01882/0.5159, allocations: 11.93 MB / 0.6376 GB, free: 2.203 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003154/0.519, allocations: 55.62 kB / 0.6377 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00301/0.5221, allocations: 0.5751 MB / 0.6382 GB, free: 1.57 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007064/0.5292, allocations: 1.832 MB / 0.64 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.5328, allocations: 1.095 MB / 0.6411 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005029/0.5378, allocations: 3.113 MB / 0.6441 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002081/0.5399, allocations: 1.118 MB / 0.6452 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003633/0.5436, allocations: 1.319 MB / 0.6465 GB, free: 9.051 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002/0.5456, allocations: 0.9568 MB / 0.6474 GB, free: 8.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004651/0.5461, allocations: 120 kB / 0.6476 GB, free: 7.973 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003909/0.55, allocations: 1.462 MB / 0.649 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005908/0.5506, allocations: 298.8 kB / 0.6493 GB, free: 6.215 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001602/0.5522, allocations: 0.7075 MB / 0.65 GB, free: 5.504 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004876/0.5571, allocations: 2.302 MB / 0.6522 GB, free: 3.195 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5571, allocations: 0 / 0.6522 GB, free: 3.195 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.5572, allocations: 0 / 0.6522 GB, free: 3.195 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.977e-05/0.5572, allocations: 0 / 0.6522 GB, free: 3.195 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.004069/0.5613, allocations: 1.742 MB / 0.6539 GB, free: 1.395 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.5614, allocations: 8.625 kB / 0.6539 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/0.5642, allocations: 454.8 kB / 0.6543 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/0.5668, allocations: 1.14 MB / 0.6555 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003645/0.5672, allocations: 113.9 kB / 0.6556 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.5674, allocations: 87.98 kB / 0.6557 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/0.5699, allocations: 1.006 MB / 0.6566 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.5699, allocations: 7.938 kB / 0.6566 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.014e-05/0.57, allocations: 28 kB / 0.6567 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.5701, allocations: 20 kB / 0.6567 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.5728, allocations: 0.9368 MB / 0.6576 GB, free: 13.52 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.006994/0.5798, allocations: 4.684 MB / 0.6622 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004276/0.5841, allocations: 1 MB / 0.6632 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.5852, allocations: 415.9 kB / 0.6636 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/0.5863, allocations: 1.021 MB / 0.6645 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.5864, allocations: 39 kB / 0.6646 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 3.717e-06/0.5864, allocations: 0 / 0.6646 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.007903/0.5943, allocations: 1.943 MB / 0.6665 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.5944, allocations: 63.78 kB / 0.6665 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.596, allocations: 0.9396 MB / 0.6675 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-05/0.5961, allocations: 41.7 kB / 0.6675 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004657/0.5966, allocations: 0.5079 MB / 0.668 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.5968, allocations: 189.3 kB / 0.6682 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/0.5971, allocations: 126.1 kB / 0.6683 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5973, allocations: 326 kB / 0.6686 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.5984, allocations: 366.8 kB / 0.669 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.5996, allocations: 0.503 MB / 0.6695 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.6018, allocations: 0.7657 MB / 0.6702 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.6018, allocations: 0 / 0.6702 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003042/0.6049, allocations: 1.068 MB / 0.6712 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.6049, allocations: 8.25 kB / 0.6713 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.6049, allocations: 8 kB / 0.6713 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.6063, allocations: 307.4 kB / 0.6716 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006387/0.607, allocations: 127.8 kB / 0.6717 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.6084, allocations: 0.9151 MB / 0.6726 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.6097, allocations: 159.3 kB / 0.6727 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.977e-05/0.6098, allocations: 31.97 kB / 0.6727 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001351/0.6111, allocations: 0.5518 MB / 0.6733 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001133/0.6123, allocations: 0.5069 MB / 0.6738 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002/0.6143, allocations: 0.7541 MB / 0.6745 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.109e-06/0.6143, allocations: 3.938 kB / 0.6745 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003004/0.6173, allocations: 1.053 MB / 0.6756 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.6173, allocations: 4 kB / 0.6756 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6173, allocations: 4 kB / 0.6756 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.6185, allocations: 304.9 kB / 0.6758 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/0.6192, allocations: 131.8 kB / 0.676 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.6206, allocations: 0.9144 MB / 0.6769 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.6218, allocations: 147.5 kB / 0.677 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/0.6219, allocations: 27.98 kB / 0.677 GB, free: 8.676 MB / 0.5137 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.0002591/0.6222, allocations: 216.1 kB / 0.6772 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003474/0.6225, allocations: 110.7 kB / 0.6773 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00322/0.6258, allocations: 1.157 MB / 0.6785 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.6258, allocations: 12 kB / 0.6785 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.6258, allocations: 0 / 0.6785 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.6258, allocations: 3.984 kB / 0.6785 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004814/0.6306, allocations: 2.256 MB / 0.6807 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.6307, allocations: 4 kB / 0.6807 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005503/0.6312, allocations: 108 kB / 0.6808 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.6323, allocations: 292.6 kB / 0.6811 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.37e-05/0.6323, allocations: 19.98 kB / 0.6811 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/0.6338, allocations: 0.9521 MB / 0.682 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.6338, allocations: 0 / 0.682 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003822/0.6376, allocations: 1.323 MB / 0.6833 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005743/0.6382, allocations: 275.5 kB / 0.6836 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/0.6385, allocations: 12 kB / 0.6836 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.6396, allocations: 111.8 kB / 0.6837 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-05/0.6397, allocations: 36.33 kB / 0.6837 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/0.6397, allocations: 27.98 kB / 0.6838 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001049/0.6408, allocations: 0.6676 MB / 0.6844 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6408, allocations: 0 / 0.6844 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001742/0.6425, allocations: 0.573 MB / 0.685 GB, free: 368 kB / 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.0009538/0.6435, allocations: 379.5 kB / 0.6853 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004077/0.6476, allocations: 1.338 MB / 0.6866 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.6476, allocations: 0 / 0.6866 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.6489, allocations: 468.8 kB / 0.6871 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/0.6519, allocations: 0.4885 MB / 0.6876 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.6569, allocations: 2.302 MB / 0.6898 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009777/0.6579, allocations: 1.074 MB / 0.6909 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001242/0.6591, allocations: 235.2 kB / 0.6911 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.6594, allocations: 83.41 kB / 0.6912 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of SimCode: time 1.192e-06/0.6594, allocations: 0 / 0.6912 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of Templates: time 0.04383/0.7033, allocations: 24.39 MB / 0.715 GB, free: 1.891 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)