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.0009352/0.0009352, allocations: 100 kB / 15.05 MB, free: 1.105 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.0008744/0.0008748, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.209/1.209, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.851/0.851, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002795, allocations: 12 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1436, allocations: 82.31 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.2716/0.4153, allocations: 51.27 MB / 0.6373 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01016/0.4255, allocations: 10.32 MB / 0.6473 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.4267, allocations: 47.5 kB / 0.6474 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.4281, allocations: 0.6339 MB / 0.648 GB, free: 16.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003678/0.4318, allocations: 1.94 MB / 0.6499 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0027/0.4345, allocations: 1.312 MB / 0.6512 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00218/0.4367, allocations: 1.859 MB / 0.653 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.4377, allocations: 0.826 MB / 0.6538 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.4393, allocations: 0.9815 MB / 0.6548 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007572/0.4401, allocations: 0.6181 MB / 0.6554 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.14e-05/0.4402, allocations: 48.62 kB / 0.6554 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.4419, allocations: 0.998 MB / 0.6564 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.4421, allocations: 198.7 kB / 0.6566 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.4423, allocations: 283 kB / 0.6568 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.4437, allocations: 1.596 MB / 0.6584 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.4437, allocations: 0 / 0.6584 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4437, allocations: 0 / 0.6584 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.4437, allocations: 0 / 0.6584 GB, free: 11.33 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.002386/0.4461, allocations: 1.504 MB / 0.6599 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.4462, allocations: 9.125 kB / 0.6599 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002464/0.4486, allocations: 0.5118 MB / 0.6604 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/0.4505, allocations: 1.053 MB / 0.6614 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003477/0.4508, allocations: 133 kB / 0.6615 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.451, allocations: 79.59 kB / 0.6616 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.453, allocations: 1.026 MB / 0.6626 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.453, allocations: 0 / 0.6626 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.783e-05/0.4531, allocations: 31.56 kB / 0.6626 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.4531, allocations: 20 kB / 0.6627 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002414/0.4556, allocations: 1.001 MB / 0.6636 GB, free: 8.711 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.005399/0.461, allocations: 4.72 MB / 0.6682 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003898/0.4649, allocations: 1.124 MB / 0.6693 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000686/0.4656, allocations: 1.033 MB / 0.6704 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.4656, allocations: 45.59 kB / 0.6704 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.164e-06/0.4656, allocations: 0 / 0.6704 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.00753/0.4731, allocations: 2.133 MB / 0.6725 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.4732, allocations: 58.17 kB / 0.6725 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.4745, allocations: 0.9538 MB / 0.6735 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/0.4745, allocations: 38.95 kB / 0.6735 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.4748, allocations: 0.5036 MB / 0.674 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.475, allocations: 187.6 kB / 0.6742 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.475, allocations: 14.28 kB / 0.6742 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.633e-05/0.4751, allocations: 329.7 kB / 0.6745 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009553/0.476, allocations: 372.5 kB / 0.6749 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.4772, allocations: 0.5422 MB / 0.6754 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009726/0.4781, allocations: 394.5 kB / 0.6758 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4782, allocations: 1.062 kB / 0.6758 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003496/0.4817, allocations: 1.286 MB / 0.677 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.4819, allocations: 0.9615 MB / 0.678 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4819, allocations: 3.312 kB / 0.678 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.4831, allocations: 336.7 kB / 0.6783 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.4837, allocations: 142.4 kB / 0.6784 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.4851, allocations: 0.9354 MB / 0.6793 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.4863, allocations: 181.1 kB / 0.6795 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.357e-05/0.4864, allocations: 29.36 kB / 0.6795 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.4864, allocations: 3.875 kB / 0.6795 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003334/0.4898, allocations: 1.156 MB / 0.6807 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4898, allocations: 2.469 kB / 0.6807 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.4908, allocations: 318.1 kB / 0.681 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/0.4914, allocations: 141.8 kB / 0.6811 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.4927, allocations: 0.9389 MB / 0.682 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.4939, allocations: 172.1 kB / 0.6822 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/0.494, allocations: 27.81 kB / 0.6822 GB, free: 13.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007637/0.4948, allocations: 355.8 kB / 0.6826 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.495, allocations: 107.1 kB / 0.6827 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/0.4982, allocations: 1.218 MB / 0.6838 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.4982, allocations: 7.047 kB / 0.6839 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4982, allocations: 5.297 kB / 0.6839 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.4982, allocations: 3.234 kB / 0.6839 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004515/0.5027, allocations: 2.337 MB / 0.6861 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.5028, allocations: 2.312 kB / 0.6861 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000543/0.5033, allocations: 117.7 kB / 0.6863 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.5044, allocations: 330.8 kB / 0.6866 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.035e-05/0.5044, allocations: 18.55 kB / 0.6866 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.5059, allocations: 0.9625 MB / 0.6875 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.5059, allocations: 5.219 kB / 0.6875 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003568/0.5095, allocations: 1.471 MB / 0.689 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005333/0.51, allocations: 305.2 kB / 0.6893 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.5102, allocations: 9.281 kB / 0.6893 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009113/0.5111, allocations: 123.5 kB / 0.6894 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.697e-05/0.5112, allocations: 47.33 kB / 0.6894 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.2e-05/0.5113, allocations: 25.2 kB / 0.6895 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009442/0.5122, allocations: 0.6685 MB / 0.6901 GB, free: 10 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5122, allocations: 3.938 kB / 0.6901 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001587/0.5138, allocations: 0.5716 MB / 0.6907 GB, free: 9.879 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006191/0.5144, allocations: 372.3 kB / 0.691 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003577/0.518, allocations: 1.387 MB / 0.6924 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5181, allocations: 1.156 kB / 0.6924 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.5192, allocations: 490.5 kB / 0.6929 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.5213, allocations: 0.5077 MB / 0.6933 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/0.5248, allocations: 2.319 MB / 0.6956 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005798/0.5254, allocations: 1.089 MB / 0.6967 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008728/0.5263, allocations: 240 kB / 0.6969 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.5265, allocations: 78.97 kB / 0.697 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.5265, allocations: 0 / 0.697 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of Templates: time 0.03333/0.5598, allocations: 23.27 MB / 0.7197 GB, free: 3.863 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1) Environment - environmentSimulation: