Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.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.001061/0.001061, allocations: 107.7 kB / 16.36 MB, free: 6.336 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.001143/0.001143, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.234/1.234, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7337/0.7337, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 67.89 kB / 0.5067 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3165, allocations: 80.91 MB / 0.5857 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.04672/0.3633, allocations: 61.17 MB / 0.6455 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01541/0.3787, allocations: 11.98 MB / 0.6572 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002035/0.3808, allocations: 59.62 kB / 0.6573 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.3824, allocations: 0.6907 MB / 0.6579 GB, free: 492 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004551/0.387, allocations: 1.959 MB / 0.6598 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.3896, allocations: 1.219 MB / 0.661 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003596/0.3932, allocations: 3.087 MB / 0.664 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.3947, allocations: 1.128 MB / 0.6651 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.3973, allocations: 1.323 MB / 0.6664 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.3985, allocations: 0.9179 MB / 0.6673 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.3986, allocations: 116 kB / 0.6674 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002511/0.4011, allocations: 1.45 MB / 0.6689 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002583/0.4014, allocations: 294.8 kB / 0.6691 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006303/0.402, allocations: 0.7075 MB / 0.6698 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.4047, allocations: 2.337 MB / 0.6721 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4048, allocations: 0 / 0.6721 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4048, allocations: 0 / 0.6721 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.4048, allocations: 0 / 0.6721 GB, free: 1.883 MB / 0.4981 GB 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.002861/0.4077, allocations: 1.738 MB / 0.6738 GB, free: 88 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.4077, allocations: 9.109 kB / 0.6738 GB, free: 80 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/0.41, allocations: 458.8 kB / 0.6743 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.412, allocations: 1.175 MB / 0.6754 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.534e-05/0.4121, allocations: 70 kB / 0.6755 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.4122, allocations: 80 kB / 0.6755 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.4141, allocations: 0.9978 MB / 0.6765 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.4142, allocations: 3.938 kB / 0.6765 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.087e-05/0.4142, allocations: 32 kB / 0.6766 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.4143, allocations: 24 kB / 0.6766 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.4166, allocations: 0.9251 MB / 0.6775 GB, free: 12.23 MB / 0.5137 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.00556/0.4221, allocations: 4.667 MB / 0.682 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003696/0.4258, allocations: 0.9924 MB / 0.683 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009378/0.4268, allocations: 405.9 kB / 0.6834 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008795/0.4277, allocations: 1.017 MB / 0.6844 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.4277, allocations: 42.94 kB / 0.6844 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.304e-06/0.4277, allocations: 3.938 kB / 0.6844 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.006972/0.4347, allocations: 1.912 MB / 0.6863 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.4348, allocations: 55.84 kB / 0.6864 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.4362, allocations: 0.9474 MB / 0.6873 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.817e-05/0.4363, allocations: 37.7 kB / 0.6873 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/0.4366, allocations: 0.508 MB / 0.6878 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.4368, allocations: 189.3 kB / 0.688 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.437, allocations: 130.1 kB / 0.6881 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.4371, allocations: 326 kB / 0.6884 GB, free: 356 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009701/0.4381, allocations: 354.9 kB / 0.6888 GB, free: 0 / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.4392, allocations: 0.4991 MB / 0.6893 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.4412, allocations: 0.7579 MB / 0.69 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4412, allocations: 0 / 0.69 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002703/0.4439, allocations: 1.053 MB / 0.691 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.4439, allocations: 10.34 kB / 0.691 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.4439, allocations: 3.984 kB / 0.691 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.4451, allocations: 304.8 kB / 0.6913 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006024/0.4457, allocations: 131.8 kB / 0.6915 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.447, allocations: 0.8944 MB / 0.6923 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009969/0.448, allocations: 123.4 kB / 0.6924 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.4481, allocations: 27.98 kB / 0.6925 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001366/0.4495, allocations: 0.5556 MB / 0.693 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001026/0.4505, allocations: 0.5029 MB / 0.6935 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001795/0.4523, allocations: 0.7384 MB / 0.6942 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/0.4523, allocations: 0 / 0.6942 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002645/0.455, allocations: 1.045 MB / 0.6952 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.455, allocations: 4 kB / 0.6952 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.455, allocations: 4 kB / 0.6953 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000997/0.456, allocations: 292.8 kB / 0.6955 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/0.4567, allocations: 131.8 kB / 0.6957 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.4579, allocations: 0.8947 MB / 0.6965 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009365/0.4589, allocations: 107.7 kB / 0.6966 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.937e-05/0.459, allocations: 31.98 kB / 0.6967 GB, free: 7.641 MB / 0.5294 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.0002311/0.4592, allocations: 221 kB / 0.6969 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.4594, allocations: 114.5 kB / 0.697 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002938/0.4624, allocations: 1.143 MB / 0.6981 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.4624, allocations: 7.938 kB / 0.6981 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4624, allocations: 3.984 kB / 0.6981 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4624, allocations: 3.984 kB / 0.6981 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00436/0.4668, allocations: 2.253 MB / 0.7003 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.4668, allocations: 4 kB / 0.7003 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000538/0.4674, allocations: 103.8 kB / 0.7004 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009358/0.4683, allocations: 292.7 kB / 0.7007 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/0.4684, allocations: 19.98 kB / 0.7007 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.4697, allocations: 0.9229 MB / 0.7016 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.4697, allocations: 7.922 kB / 0.7016 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003365/0.4731, allocations: 1.284 MB / 0.7029 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004792/0.4736, allocations: 279.4 kB / 0.7031 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.4738, allocations: 16 kB / 0.7032 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008512/0.4746, allocations: 75.91 kB / 0.7032 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.4747, allocations: 40.31 kB / 0.7033 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-05/0.4748, allocations: 23.98 kB / 0.7033 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008974/0.4757, allocations: 0.6715 MB / 0.704 GB, free: 0 / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4757, allocations: 0 / 0.704 GB, free: 0 / 0.5294 GB Notification: Performance of remove unused functions: time 0.001533/0.4772, allocations: 0.5692 MB / 0.7045 GB, free: 15.43 MB / 0.545 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.0008336/0.4781, allocations: 394.4 kB / 0.7049 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003546/0.4816, allocations: 1.303 MB / 0.7062 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.4817, allocations: 0 / 0.7062 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.4828, allocations: 456.8 kB / 0.7066 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.4847, allocations: 494.1 kB / 0.7071 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/0.4882, allocations: 1.887 MB / 0.7089 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005756/0.4888, allocations: 1.07 MB / 0.71 GB, free: 9.793 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007549/0.4896, allocations: 226.3 kB / 0.7102 GB, free: 9.578 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.4898, allocations: 83.41 kB / 0.7102 GB, free: 9.496 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.4898, allocations: 0 / 0.7102 GB, free: 9.496 MB / 0.545 GB Notification: Performance of Templates: time 0.0382/0.528, allocations: 24.67 MB / 0.7343 GB, free: 1.102 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)