Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 196 kB / 16.79 MB, free: 6.809 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.384/1.384, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9575/0.9575, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 56.88 kB / 0.5053 GB, free: 5.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1637, allocations: 80.93 MB / 0.5843 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.3397/0.5034, allocations: 60.79 MB / 0.6437 GB, free: 17.53 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01391/0.5173, allocations: 12.05 MB / 0.6555 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002539/0.5199, allocations: 57.75 kB / 0.6555 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.5219, allocations: 0.5447 MB / 0.6561 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005057/0.527, allocations: 1.804 MB / 0.6578 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002869/0.5299, allocations: 1.075 MB / 0.6589 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004629/0.5345, allocations: 3.902 MB / 0.6627 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.5362, allocations: 0.9267 MB / 0.6636 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002892/0.5391, allocations: 1.146 MB / 0.6647 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.541, allocations: 0.9056 MB / 0.6656 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002095/0.5412, allocations: 56.34 kB / 0.6656 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.5443, allocations: 1.356 MB / 0.667 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003345/0.5447, allocations: 236.5 kB / 0.6672 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.5457, allocations: 0.6372 MB / 0.6678 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003037/0.5488, allocations: 1.737 MB / 0.6695 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.5488, allocations: 5.062 kB / 0.6695 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5488, allocations: 0 / 0.6695 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.091e-05/0.5488, allocations: 0 / 0.6695 GB, free: 2.469 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00376/0.5526, allocations: 1.722 MB / 0.6712 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.5527, allocations: 11.28 kB / 0.6712 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.5545, allocations: 346.2 kB / 0.6715 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.5569, allocations: 1.125 MB / 0.6726 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003544/0.5573, allocations: 115.1 kB / 0.6727 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.5574, allocations: 87.44 kB / 0.6728 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.5595, allocations: 0.9492 MB / 0.6738 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.5595, allocations: 1.156 kB / 0.6738 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.764e-05/0.5596, allocations: 35.25 kB / 0.6738 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.5596, allocations: 19.97 kB / 0.6738 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/0.5618, allocations: 0.8043 MB / 0.6746 GB, free: 15.69 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.007808/0.5697, allocations: 4.754 MB / 0.6792 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.5714, allocations: 0.5656 MB / 0.6798 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000645/0.5721, allocations: 266.7 kB / 0.68 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001593/0.5737, allocations: 1.368 MB / 0.6814 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.5737, allocations: 41.8 kB / 0.6814 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.565e-06/0.5737, allocations: 0 / 0.6814 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007435/0.5812, allocations: 1.681 MB / 0.6831 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.5813, allocations: 56.44 kB / 0.6831 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.5833, allocations: 1.044 MB / 0.6841 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.5834, allocations: 42.69 kB / 0.6842 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004813/0.5839, allocations: 0.5185 MB / 0.6847 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.5841, allocations: 157.8 kB / 0.6848 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.5843, allocations: 125.5 kB / 0.685 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.5845, allocations: 329.9 kB / 0.6853 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007746/0.5852, allocations: 279.7 kB / 0.6855 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.5866, allocations: 467.6 kB / 0.686 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.5882, allocations: 0.6289 MB / 0.6866 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.577e-06/0.5882, allocations: 2.031 kB / 0.6866 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003012/0.5913, allocations: 0.9239 MB / 0.6875 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.5913, allocations: 7.375 kB / 0.6875 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.5913, allocations: 4.766 kB / 0.6875 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/0.5928, allocations: 318.6 kB / 0.6878 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005212/0.5933, allocations: 113.9 kB / 0.6879 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.595, allocations: 0.9016 MB / 0.6888 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.5968, allocations: 170.8 kB / 0.689 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.674e-05/0.5969, allocations: 32.09 kB / 0.689 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001586/0.5985, allocations: 481.2 kB / 0.6895 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00111/0.5996, allocations: 475.3 kB / 0.6899 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001424/0.601, allocations: 0.6207 MB / 0.6905 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.608e-06/0.601, allocations: 1.031 kB / 0.6905 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002862/0.6039, allocations: 0.9284 MB / 0.6914 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.6039, allocations: 7.5 kB / 0.6914 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.6039, allocations: 5.234 kB / 0.6914 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.6051, allocations: 308.2 kB / 0.6917 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.6056, allocations: 105.3 kB / 0.6918 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.6071, allocations: 0.9135 MB / 0.6927 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.6086, allocations: 144.2 kB / 0.6929 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.832e-05/0.6087, allocations: 32.78 kB / 0.6929 GB, free: 4.359 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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.0002868/0.609, allocations: 227 kB / 0.6931 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.6092, allocations: 110.8 kB / 0.6932 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003116/0.6124, allocations: 1.024 MB / 0.6942 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/0.6124, allocations: 6.984 kB / 0.6942 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.6124, allocations: 0.6562 kB / 0.6942 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.6124, allocations: 5.953 kB / 0.6942 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005166/0.6176, allocations: 2.091 MB / 0.6963 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.6176, allocations: 3.188 kB / 0.6963 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.6178, allocations: 53.12 kB / 0.6963 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/0.6189, allocations: 312 kB / 0.6966 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.619, allocations: 10.38 kB / 0.6966 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.6205, allocations: 0.9416 MB / 0.6975 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.6205, allocations: 2.094 kB / 0.6976 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003424/0.6239, allocations: 1.111 MB / 0.6986 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006135/0.6245, allocations: 264 kB / 0.6989 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.6247, allocations: 13.41 kB / 0.6989 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008365/0.6256, allocations: 91.91 kB / 0.699 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/0.6257, allocations: 35.64 kB / 0.699 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.568e-05/0.6257, allocations: 21.09 kB / 0.699 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001304/0.627, allocations: 0.7414 MB / 0.6998 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6271, allocations: 0 / 0.6998 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001906/0.629, allocations: 0.5663 MB / 0.7003 GB, free: 0.7969 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001004/0.63, allocations: 403 kB / 0.7007 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002907/0.6329, allocations: 0.9953 MB / 0.7017 GB, free: 320 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6329, allocations: 0 / 0.7017 GB, free: 320 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007765/0.6337, allocations: 317.3 kB / 0.702 GB, free: 224 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/0.6363, allocations: 0.4946 MB / 0.7025 GB, free: 32 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.6404, allocations: 2.263 MB / 0.7047 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006797/0.6411, allocations: 1.058 MB / 0.7057 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.6414, allocations: 76.05 kB / 0.7058 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of SimCode: time 1.002e-06/0.6414, allocations: 0 / 0.7058 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of Templates: time 0.03272/0.6741, allocations: 23.91 MB / 0.7291 GB, free: 8.148 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)