Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001066/0.001066, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7077/0.7077, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 403.4 MB, free: 7.117 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 121.1 kB / 484.4 MB, free: 8.727 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 51.91 kB / 0.5618 GB, free: 71.1 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1414, allocations: 80.2 MB / 0.6402 GB, free: 6.824 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.3426/0.484, allocations: 60.82 MB / 0.6996 GB, free: 25.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.014/0.4981, allocations: 12.05 MB / 0.7113 GB, free: 25.73 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001915/0.5, allocations: 56.41 kB / 0.7114 GB, free: 25.73 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.5016, allocations: 0.549 MB / 0.7119 GB, free: 25.72 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004697/0.5063, allocations: 1.804 MB / 0.7137 GB, free: 25.41 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00294/0.5093, allocations: 1.066 MB / 0.7147 GB, free: 25.3 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.004967/0.5142, allocations: 3.923 MB / 0.7185 GB, free: 23.85 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.5156, allocations: 0.9607 MB / 0.7195 GB, free: 23.43 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/0.518, allocations: 1.158 MB / 0.7206 GB, free: 22.96 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.5194, allocations: 0.9168 MB / 0.7215 GB, free: 22.63 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.5196, allocations: 59.31 kB / 0.7216 GB, free: 22.63 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003012/0.5226, allocations: 1.348 MB / 0.7229 GB, free: 22.25 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002606/0.5229, allocations: 243.8 kB / 0.7231 GB, free: 22.12 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000725/0.5236, allocations: 0.6372 MB / 0.7237 GB, free: 21.75 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003733/0.5274, allocations: 2.266 MB / 0.726 GB, free: 21 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.5274, allocations: 0 / 0.726 GB, free: 21 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5274, allocations: 0 / 0.726 GB, free: 21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.86e-05/0.5274, allocations: 1.656 kB / 0.726 GB, free: 21 MB / 490.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.003573/0.531, allocations: 1.736 MB / 0.7277 GB, free: 19.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.5311, allocations: 9.25 kB / 0.7277 GB, free: 19.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002467/0.5335, allocations: 460.8 kB / 0.7281 GB, free: 19.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.5354, allocations: 1.132 MB / 0.7292 GB, free: 19.06 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003739/0.5358, allocations: 124 kB / 0.7293 GB, free: 19.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.536, allocations: 79.62 kB / 0.7294 GB, free: 19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.538, allocations: 1.013 MB / 0.7304 GB, free: 18.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.5381, allocations: 0.5 kB / 0.7304 GB, free: 18.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.69e-05/0.5382, allocations: 35.42 kB / 0.7304 GB, free: 18.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/0.5382, allocations: 18.78 kB / 0.7304 GB, free: 18.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.5408, allocations: 0.9454 MB / 0.7314 GB, free: 17.91 MB / 490.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.004991/0.5458, allocations: 4.662 MB / 0.7359 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/0.5497, allocations: 0.9995 MB / 0.7369 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00099/0.5507, allocations: 417 kB / 0.7373 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006742/0.5514, allocations: 1.013 MB / 0.7383 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.5514, allocations: 43.66 kB / 0.7383 GB, free: 11.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 2.345e-06/0.5514, allocations: 3.984 kB / 0.7383 GB, free: 11.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=53): time 0.007548/0.559, allocations: 1.944 MB / 0.7402 GB, free: 10.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.559, allocations: 64.81 kB / 0.7403 GB, free: 10.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009948/0.56, allocations: 0.9435 MB / 0.7412 GB, free: 10.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.5601, allocations: 38.36 kB / 0.7412 GB, free: 10.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.5604, allocations: 0.5077 MB / 0.7417 GB, free: 9.824 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.5605, allocations: 182.1 kB / 0.7419 GB, free: 9.668 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.5607, allocations: 132.5 kB / 0.742 GB, free: 9.586 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.599e-05/0.5607, allocations: 327.1 kB / 0.7424 GB, free: 9.266 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00096/0.5617, allocations: 356.8 kB / 0.7427 GB, free: 9.094 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.5627, allocations: 0.5142 MB / 0.7432 GB, free: 8.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0019/0.5647, allocations: 0.761 MB / 0.7439 GB, free: 8.297 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5647, allocations: 0 / 0.7439 GB, free: 8.297 MB / 490.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002675/0.5673, allocations: 1.063 MB / 0.745 GB, free: 7.758 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.5674, allocations: 12.47 kB / 0.745 GB, free: 7.754 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.5674, allocations: 0 / 0.745 GB, free: 7.754 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.5686, allocations: 305.9 kB / 0.7453 GB, free: 7.617 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/0.5692, allocations: 137.7 kB / 0.7454 GB, free: 7.574 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.5705, allocations: 0.9129 MB / 0.7463 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.5717, allocations: 152.4 kB / 0.7464 GB, free: 6.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/0.5717, allocations: 31.64 kB / 0.7465 GB, free: 6.758 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001213/0.573, allocations: 0.5641 MB / 0.747 GB, free: 6.422 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001022/0.574, allocations: 0.5078 MB / 0.7475 GB, free: 6.059 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001798/0.5758, allocations: 0.7542 MB / 0.7483 GB, free: 5.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.5758, allocations: 1.719 kB / 0.7483 GB, free: 5.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002582/0.5784, allocations: 1.06 MB / 0.7493 GB, free: 4.246 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.5784, allocations: 4 kB / 0.7493 GB, free: 4.242 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.5784, allocations: 4 kB / 0.7493 GB, free: 4.238 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.5794, allocations: 302.2 kB / 0.7496 GB, free: 3.941 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/0.58, allocations: 135.8 kB / 0.7497 GB, free: 3.809 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.5813, allocations: 0.9054 MB / 0.7506 GB, free: 2.879 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.5826, allocations: 151.5 kB / 0.7508 GB, free: 2.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.579e-05/0.5827, allocations: 27.98 kB / 0.7508 GB, free: 2.703 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.0002138/0.5829, allocations: 213.5 kB / 0.751 GB, free: 2.488 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.5831, allocations: 110.6 kB / 0.7511 GB, free: 2.379 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003058/0.5861, allocations: 1.151 MB / 0.7522 GB, free: 1.211 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.5861, allocations: 8 kB / 0.7522 GB, free: 1.203 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.5862, allocations: 0 / 0.7522 GB, free: 1.203 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.5862, allocations: 3.984 kB / 0.7522 GB, free: 1.199 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004533/0.5907, allocations: 2.267 MB / 0.7544 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.5907, allocations: 4 kB / 0.7544 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005558/0.5913, allocations: 99.84 kB / 0.7545 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/0.5924, allocations: 313.7 kB / 0.7548 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/0.5925, allocations: 19.98 kB / 0.7549 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.594, allocations: 0.9396 MB / 0.7558 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5941, allocations: 4.031 kB / 0.7558 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005699/0.5998, allocations: 2.522 MB / 0.7582 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000582/0.6004, allocations: 279.5 kB / 0.7585 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.6005, allocations: 16 kB / 0.7585 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009362/0.6014, allocations: 119.7 kB / 0.7586 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.383e-05/0.6015, allocations: 40.31 kB / 0.7587 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.872e-05/0.6016, allocations: 23.98 kB / 0.7587 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008581/0.6025, allocations: 0.6637 MB / 0.7593 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6025, allocations: 0 / 0.7593 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001801/0.6043, allocations: 0.5809 MB / 0.7599 GB, free: 9.129 MB / 0.4948 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.0008087/0.6051, allocations: 379.3 kB / 0.7603 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003933/0.609, allocations: 1.303 MB / 0.7615 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.6091, allocations: 4 kB / 0.7615 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.6103, allocations: 456.8 kB / 0.762 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/0.6129, allocations: 0.5054 MB / 0.7625 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/0.6174, allocations: 2.663 MB / 0.7651 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006332/0.6181, allocations: 1.078 MB / 0.7661 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001088/0.6192, allocations: 236.4 kB / 0.7664 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.6194, allocations: 83.41 kB / 0.7664 GB, free: 2.387 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/0.6194, allocations: 0 / 0.7664 GB, free: 2.387 MB / 0.4948 GB Notification: Performance of Templates: time 0.03981/0.6592, allocations: 24.39 MB / 0.7903 GB, free: 10.31 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)