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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.00228/0.00228, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8093/0.8093, allocations: 132.2 MB / 423.3 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3483, allocations: 80.18 MB / 0.5815 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.04754/0.3959, allocations: 61.18 MB / 0.6412 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0156/0.4116, allocations: 11.99 MB / 0.6529 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002249/0.4138, allocations: 59.62 kB / 0.653 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.416, allocations: 0.683 MB / 0.6537 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005361/0.4213, allocations: 1.961 MB / 0.6556 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002941/0.4243, allocations: 1.206 MB / 0.6568 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00407/0.4284, allocations: 3.091 MB / 0.6598 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.4298, allocations: 1.131 MB / 0.6609 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002571/0.4324, allocations: 1.326 MB / 0.6622 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.4335, allocations: 0.9217 MB / 0.6631 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.4337, allocations: 120 kB / 0.6632 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.4362, allocations: 1.447 MB / 0.6646 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002592/0.4364, allocations: 298.8 kB / 0.6649 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006401/0.4371, allocations: 0.6997 MB / 0.6656 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002706/0.4398, allocations: 2.337 MB / 0.6678 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.4398, allocations: 8 kB / 0.6679 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4398, allocations: 0 / 0.6679 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.4398, allocations: 0 / 0.6679 GB, free: 5.691 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.00294/0.4428, allocations: 1.734 MB / 0.6695 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.4428, allocations: 8.031 kB / 0.6696 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/0.4452, allocations: 462.7 kB / 0.67 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.4473, allocations: 1.175 MB / 0.6711 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.322e-05/0.4473, allocations: 62 kB / 0.6712 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.4474, allocations: 84 kB / 0.6713 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.4494, allocations: 0.9978 MB / 0.6723 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.4494, allocations: 0 / 0.6723 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.763e-05/0.4495, allocations: 36 kB / 0.6723 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.4495, allocations: 23.94 kB / 0.6723 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/0.4519, allocations: 0.929 MB / 0.6732 GB, free: 44 kB / 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.005923/0.4579, allocations: 4.66 MB / 0.6778 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003848/0.4617, allocations: 0.9931 MB / 0.6787 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.4627, allocations: 405.2 kB / 0.6791 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009401/0.4637, allocations: 1.017 MB / 0.6801 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.4637, allocations: 39 kB / 0.6802 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 3.346e-06/0.4637, allocations: 0 / 0.6802 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.00719/0.4709, allocations: 1.916 MB / 0.682 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.471, allocations: 55.84 kB / 0.6821 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.4722, allocations: 0.9552 MB / 0.683 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.049e-05/0.4723, allocations: 37.7 kB / 0.6831 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/0.4727, allocations: 0.5041 MB / 0.6835 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.4728, allocations: 185.3 kB / 0.6837 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.4731, allocations: 134 kB / 0.6839 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4732, allocations: 326 kB / 0.6842 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009532/0.4742, allocations: 354.9 kB / 0.6845 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.4753, allocations: 0.5029 MB / 0.685 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.4772, allocations: 0.7541 MB / 0.6857 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.84e-06/0.4772, allocations: 0 / 0.6857 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002757/0.48, allocations: 1.049 MB / 0.6868 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.48, allocations: 11.98 kB / 0.6868 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.48, allocations: 0 / 0.6868 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.4812, allocations: 308.8 kB / 0.6871 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/0.4819, allocations: 131.8 kB / 0.6872 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.4832, allocations: 0.8973 MB / 0.6881 GB, free: 44 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009959/0.4842, allocations: 123.4 kB / 0.6882 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/0.4843, allocations: 27.98 kB / 0.6882 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001262/0.4856, allocations: 0.5556 MB / 0.6887 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001048/0.4866, allocations: 0.5126 MB / 0.6892 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001824/0.4885, allocations: 0.7346 MB / 0.69 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.4885, allocations: 0 / 0.69 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002608/0.4911, allocations: 1.049 MB / 0.691 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.4911, allocations: 7.938 kB / 0.691 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4911, allocations: 4 kB / 0.691 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009638/0.4921, allocations: 288.8 kB / 0.6913 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/0.4927, allocations: 135.8 kB / 0.6914 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.4939, allocations: 0.8896 MB / 0.6923 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009156/0.4949, allocations: 107.6 kB / 0.6924 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.088e-05/0.4949, allocations: 27.98 kB / 0.6924 GB, free: 11.46 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.0002155/0.4952, allocations: 216.1 kB / 0.6926 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.4954, allocations: 114.6 kB / 0.6927 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/0.4982, allocations: 1.14 MB / 0.6938 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.4982, allocations: 8 kB / 0.6938 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4983, allocations: 3.938 kB / 0.6938 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.4983, allocations: 7.969 kB / 0.6939 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004172/0.5024, allocations: 2.249 MB / 0.696 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.5025, allocations: 4.188 kB / 0.6961 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005508/0.503, allocations: 103.8 kB / 0.6962 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009283/0.504, allocations: 288.6 kB / 0.6964 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/0.504, allocations: 19.98 kB / 0.6964 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.5053, allocations: 0.9257 MB / 0.6973 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.5054, allocations: 3.938 kB / 0.6974 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003388/0.5088, allocations: 1.284 MB / 0.6986 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000427/0.5092, allocations: 279.5 kB / 0.6989 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.5093, allocations: 15.98 kB / 0.6989 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008026/0.5101, allocations: 75.86 kB / 0.699 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/0.5102, allocations: 40.31 kB / 0.699 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.993e-05/0.5103, allocations: 23.98 kB / 0.699 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008357/0.5111, allocations: 0.6715 MB / 0.6997 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5112, allocations: 3.938 kB / 0.6997 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001329/0.5125, allocations: 0.5692 MB / 0.7002 GB, free: 3.246 MB / 0.5294 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.0007212/0.5132, allocations: 398.5 kB / 0.7006 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003532/0.5168, allocations: 1.295 MB / 0.7019 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5168, allocations: 0 / 0.7019 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.518, allocations: 456.8 kB / 0.7023 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.5199, allocations: 0.492 MB / 0.7028 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.5234, allocations: 1.88 MB / 0.7046 GB, free: 14.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/0.524, allocations: 1.07 MB / 0.7057 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007943/0.5248, allocations: 230.3 kB / 0.7059 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.525, allocations: 87.41 kB / 0.706 GB, free: 13.31 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.525, allocations: 0 / 0.706 GB, free: 13.31 MB / 0.545 GB Notification: Performance of Templates: time 0.03756/0.5626, allocations: 24.65 MB / 0.7301 GB, free: 4.973 MB / 0.5606 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)