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.001351/0.001351, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001377/0.001377, allocations: 193.2 kB / 16.25 MB, free: 6.594 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.4/1.4, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9336/0.9336, allocations: 135.6 MB / 425.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001898, allocations: 66.89 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.166, allocations: 81.02 MB / 0.5845 GB, free: 4.359 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.338/0.504, allocations: 60.67 MB / 0.6437 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01443/0.5185, allocations: 11.91 MB / 0.6554 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002644/0.5212, allocations: 57.62 kB / 0.6554 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.5232, allocations: 0.5752 MB / 0.656 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005189/0.5284, allocations: 1.821 MB / 0.6578 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0027/0.5312, allocations: 1.097 MB / 0.6588 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003647/0.5348, allocations: 3.098 MB / 0.6619 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.5363, allocations: 1.13 MB / 0.663 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003142/0.5395, allocations: 1.342 MB / 0.6643 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.5408, allocations: 0.9403 MB / 0.6652 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.541, allocations: 122.4 kB / 0.6653 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002692/0.5437, allocations: 1.456 MB / 0.6667 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.544, allocations: 302.4 kB / 0.667 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007383/0.5447, allocations: 0.705 MB / 0.6677 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003837/0.5485, allocations: 2.318 MB / 0.67 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5486, allocations: 1.641 kB / 0.67 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.532e-06/0.5486, allocations: 0 / 0.67 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.289e-05/0.5486, allocations: 0 / 0.67 GB, free: 1.055 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.003706/0.5523, allocations: 1.746 MB / 0.6717 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.5524, allocations: 12.91 kB / 0.6717 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002582/0.555, allocations: 454.5 kB / 0.6721 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002746/0.5577, allocations: 1.133 MB / 0.6732 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003745/0.5581, allocations: 119.9 kB / 0.6734 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.5583, allocations: 79.84 kB / 0.6734 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/0.5609, allocations: 1.007 MB / 0.6744 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.5609, allocations: 3.938 kB / 0.6744 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-05/0.561, allocations: 31.03 kB / 0.6744 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.5611, allocations: 19.28 kB / 0.6745 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/0.5637, allocations: 0.9424 MB / 0.6754 GB, free: 14.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.008338/0.5721, allocations: 4.654 MB / 0.6799 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004114/0.5762, allocations: 1.004 MB / 0.6809 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.5773, allocations: 411.6 kB / 0.6813 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001199/0.5785, allocations: 1.019 MB / 0.6823 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.5785, allocations: 43.67 kB / 0.6823 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.454e-06/0.5786, allocations: 0 / 0.6823 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.008081/0.5866, allocations: 1.942 MB / 0.6842 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.5867, allocations: 57.38 kB / 0.6843 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.5885, allocations: 0.9478 MB / 0.6852 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.5886, allocations: 37.64 kB / 0.6852 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005019/0.5891, allocations: 0.5126 MB / 0.6858 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.5894, allocations: 183.1 kB / 0.6859 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/0.5897, allocations: 129.3 kB / 0.686 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.5898, allocations: 329.6 kB / 0.6864 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.5909, allocations: 355.7 kB / 0.6867 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.5922, allocations: 0.5104 MB / 0.6872 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/0.5943, allocations: 0.7616 MB / 0.6879 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.5943, allocations: 0 / 0.6879 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003228/0.5975, allocations: 1.068 MB / 0.689 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.5976, allocations: 11.41 kB / 0.689 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.5976, allocations: 3.125 kB / 0.689 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/0.5989, allocations: 316.9 kB / 0.6893 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/0.5996, allocations: 129.6 kB / 0.6894 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.6012, allocations: 0.9134 MB / 0.6903 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.6026, allocations: 159.4 kB / 0.6905 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.65e-05/0.6027, allocations: 32.11 kB / 0.6905 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001446/0.6042, allocations: 0.5582 MB / 0.691 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001164/0.6053, allocations: 0.5084 MB / 0.6915 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002004/0.6074, allocations: 0.7565 MB / 0.6923 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.6074, allocations: 1.094 kB / 0.6923 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003052/0.6104, allocations: 1.06 MB / 0.6933 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.6105, allocations: 5.75 kB / 0.6933 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.6105, allocations: 2.469 kB / 0.6933 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.6116, allocations: 300.2 kB / 0.6936 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/0.6122, allocations: 136.2 kB / 0.6937 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.6137, allocations: 0.9107 MB / 0.6946 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.615, allocations: 141.5 kB / 0.6948 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.78e-05/0.6151, allocations: 27.3 kB / 0.6948 GB, free: 3.207 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 (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.0003324/0.6154, allocations: 220.8 kB / 0.695 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.6157, allocations: 110.4 kB / 0.6951 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.6188, allocations: 1.158 MB / 0.6962 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.6189, allocations: 7.359 kB / 0.6962 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.6189, allocations: 1 kB / 0.6962 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.6189, allocations: 3.141 kB / 0.6962 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00499/0.6239, allocations: 2.267 MB / 0.6985 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.6239, allocations: 1.344 kB / 0.6985 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005573/0.6245, allocations: 108.9 kB / 0.6986 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.6255, allocations: 299.4 kB / 0.6989 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-05/0.6256, allocations: 15.17 kB / 0.6989 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.6272, allocations: 0.9388 MB / 0.6998 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.6272, allocations: 9.094 kB / 0.6998 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004147/0.6314, allocations: 1.315 MB / 0.7011 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008927/0.6323, allocations: 279.5 kB / 0.7013 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003892/0.6327, allocations: 12.09 kB / 0.7014 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.634, allocations: 115.4 kB / 0.7015 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.6341, allocations: 44.7 kB / 0.7015 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.915e-05/0.6342, allocations: 21.77 kB / 0.7015 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001396/0.6356, allocations: 0.6672 MB / 0.7022 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6356, allocations: 0 / 0.7022 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002823/0.6385, allocations: 0.5686 MB / 0.7027 GB, free: 15.32 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.001328/0.6398, allocations: 384.8 kB / 0.7031 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004442/0.6443, allocations: 1.342 MB / 0.7044 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.6443, allocations: 1.094 kB / 0.7044 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.6457, allocations: 460 kB / 0.7049 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/0.6487, allocations: 0.4964 MB / 0.7053 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0046/0.6533, allocations: 2.299 MB / 0.7076 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007399/0.654, allocations: 1.07 MB / 0.7086 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001203/0.6553, allocations: 229.6 kB / 0.7088 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.6555, allocations: 86.75 kB / 0.7089 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of SimCode: time 6.11e-07/0.6555, allocations: 0 / 0.7089 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of Templates: time 0.0446/0.7001, allocations: 24.39 MB / 0.7327 GB, free: 4.012 MB / 0.545 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)