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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6094/0.6094, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009835/0.0009835, allocations: 100.7 kB / 420 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 63.84 kB / 0.4891 GB, free: 7.711 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3082, allocations: 70.05 MB / 0.5575 GB, free: 44.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.0425/0.3507, allocations: 60.83 MB / 0.6169 GB, free: 196 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01739/0.3682, allocations: 12.05 MB / 0.6287 GB, free: 4.113 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002302/0.3705, allocations: 59.62 kB / 0.6287 GB, free: 4.055 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.3724, allocations: 0.5477 MB / 0.6292 GB, free: 3.504 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00511/0.3775, allocations: 1.8 MB / 0.631 GB, free: 1.695 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003141/0.3806, allocations: 1.077 MB / 0.6321 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004526/0.3852, allocations: 3.928 MB / 0.6359 GB, free: 12.69 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.3867, allocations: 0.9574 MB / 0.6368 GB, free: 11.71 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002473/0.3892, allocations: 1.159 MB / 0.638 GB, free: 10.54 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.3907, allocations: 0.906 MB / 0.6388 GB, free: 9.633 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002672/0.3909, allocations: 60 kB / 0.6389 GB, free: 9.574 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.3937, allocations: 1.36 MB / 0.6402 GB, free: 8.211 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003075/0.394, allocations: 242.9 kB / 0.6405 GB, free: 7.973 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008364/0.3948, allocations: 0.6372 MB / 0.6411 GB, free: 7.332 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002692/0.3975, allocations: 2.255 MB / 0.6433 GB, free: 5.07 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3975, allocations: 4 kB / 0.6433 GB, free: 5.066 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.3975, allocations: 0 / 0.6433 GB, free: 5.066 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.3976, allocations: 0 / 0.6433 GB, free: 5.066 MB / 458.7 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.00287/0.4004, allocations: 1.738 MB / 0.645 GB, free: 3.266 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4005, allocations: 12.03 kB / 0.645 GB, free: 3.254 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002363/0.4029, allocations: 454.8 kB / 0.6454 GB, free: 2.809 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002118/0.405, allocations: 1.14 MB / 0.6465 GB, free: 1.613 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003538/0.4054, allocations: 117.9 kB / 0.6467 GB, free: 1.496 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.4055, allocations: 80 kB / 0.6467 GB, free: 1.418 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.4075, allocations: 1.01 MB / 0.6477 GB, free: 388 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.4076, allocations: 4 kB / 0.6477 GB, free: 384 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.419e-05/0.4076, allocations: 35.98 kB / 0.6478 GB, free: 348 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.4077, allocations: 20 kB / 0.6478 GB, free: 328 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/0.4102, allocations: 0.9408 MB / 0.6487 GB, free: 15.38 MB / 474.7 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.006416/0.4166, allocations: 4.671 MB / 0.6533 GB, free: 10.36 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004091/0.4207, allocations: 1.005 MB / 0.6542 GB, free: 9.352 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.4218, allocations: 413.9 kB / 0.6546 GB, free: 8.941 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008803/0.4227, allocations: 1.017 MB / 0.6556 GB, free: 7.703 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.4228, allocations: 43 kB / 0.6557 GB, free: 7.652 MB / 474.7 MB Notification: Performance of pre-optimization done (n=53): time 2.455e-06/0.4228, allocations: 0 / 0.6557 GB, free: 7.652 MB / 474.7 MB Notification: Performance of matching and sorting (n=53): time 0.008009/0.4308, allocations: 1.94 MB / 0.6576 GB, free: 5.684 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.4309, allocations: 59.78 kB / 0.6576 GB, free: 5.613 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.4325, allocations: 0.9513 MB / 0.6585 GB, free: 4.645 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.293e-05/0.4326, allocations: 37.7 kB / 0.6586 GB, free: 4.602 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004067/0.433, allocations: 0.5041 MB / 0.6591 GB, free: 4.094 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.4332, allocations: 189.2 kB / 0.6593 GB, free: 3.906 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.4335, allocations: 126.1 kB / 0.6594 GB, free: 3.773 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.4336, allocations: 326 kB / 0.6597 GB, free: 3.449 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.4346, allocations: 354.9 kB / 0.66 GB, free: 3.102 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.436, allocations: 0.5185 MB / 0.6605 GB, free: 2.523 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/0.4382, allocations: 0.7618 MB / 0.6613 GB, free: 1.73 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.4382, allocations: 0 / 0.6613 GB, free: 1.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003183/0.4414, allocations: 1.064 MB / 0.6623 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.4414, allocations: 7.938 kB / 0.6623 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.4414, allocations: 4.312 kB / 0.6623 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.4428, allocations: 312.6 kB / 0.6626 GB, free: 340 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006416/0.4434, allocations: 135.8 kB / 0.6628 GB, free: 204 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.4449, allocations: 0.909 MB / 0.6636 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.4462, allocations: 159.3 kB / 0.6638 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.214e-05/0.4463, allocations: 27.98 kB / 0.6638 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001446/0.4477, allocations: 0.5596 MB / 0.6644 GB, free: 14.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001147/0.4489, allocations: 0.5069 MB / 0.6649 GB, free: 13.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002028/0.4509, allocations: 0.754 MB / 0.6656 GB, free: 13.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.979e-06/0.4509, allocations: 3.938 kB / 0.6656 GB, free: 13.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003101/0.4541, allocations: 1.057 MB / 0.6666 GB, free: 12.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4541, allocations: 11.98 kB / 0.6666 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4541, allocations: 0 / 0.6666 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.4553, allocations: 303.6 kB / 0.6669 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006246/0.4559, allocations: 131.8 kB / 0.6671 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.4573, allocations: 0.9113 MB / 0.6679 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.4585, allocations: 151.5 kB / 0.6681 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7e-05/0.4586, allocations: 27.98 kB / 0.6681 GB, free: 10.54 MB / 490.7 MB 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.000234/0.4588, allocations: 212.1 kB / 0.6683 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/0.4591, allocations: 106.7 kB / 0.6684 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003135/0.4622, allocations: 1.163 MB / 0.6696 GB, free: 9.043 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.4622, allocations: 4 kB / 0.6696 GB, free: 9.039 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4623, allocations: 4 kB / 0.6696 GB, free: 9.035 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.4623, allocations: 3.984 kB / 0.6696 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004527/0.4668, allocations: 2.249 MB / 0.6718 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.4668, allocations: 0 / 0.6718 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/0.4674, allocations: 112 kB / 0.6719 GB, free: 6.594 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/0.4684, allocations: 306.4 kB / 0.6722 GB, free: 6.293 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/0.4685, allocations: 19.98 kB / 0.6722 GB, free: 6.273 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.4699, allocations: 0.9425 MB / 0.6731 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4699, allocations: 8 kB / 0.6731 GB, free: 5.297 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005363/0.4753, allocations: 2.526 MB / 0.6756 GB, free: 2.691 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/0.4758, allocations: 275.5 kB / 0.6758 GB, free: 2.402 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.476, allocations: 16 kB / 0.6759 GB, free: 2.387 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009936/0.477, allocations: 111.7 kB / 0.676 GB, free: 2.277 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.4771, allocations: 40.33 kB / 0.676 GB, free: 2.238 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.701e-05/0.4772, allocations: 27.97 kB / 0.676 GB, free: 2.211 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009696/0.4782, allocations: 0.6637 MB / 0.6767 GB, free: 1.539 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4782, allocations: 0 / 0.6767 GB, free: 1.539 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001804/0.48, allocations: 0.577 MB / 0.6772 GB, free: 0.9609 MB / 490.7 MB 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.0008297/0.4808, allocations: 393.6 kB / 0.6776 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003835/0.4847, allocations: 1.307 MB / 0.6789 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4847, allocations: 0 / 0.6789 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.486, allocations: 452.8 kB / 0.6793 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/0.489, allocations: 0.5042 MB / 0.6798 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004823/0.4938, allocations: 2.655 MB / 0.6824 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007578/0.4946, allocations: 1.09 MB / 0.6835 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001314/0.4959, allocations: 232.5 kB / 0.6837 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/0.4962, allocations: 79.42 kB / 0.6838 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of SimCode: time 9.42e-07/0.4962, allocations: 0 / 0.6838 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.04264/0.5389, allocations: 24.41 MB / 0.7076 GB, free: 2.012 MB / 0.5105 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)