Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001063/0.001063, allocations: 114.4 kB / 16.37 MB, free: 6.012 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.001122/0.001123, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7975/0.7975, allocations: 132.2 MB / 423.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4401, allocations: 80.18 MB / 0.5815 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05443/0.4946, allocations: 61.18 MB / 0.6412 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01878/0.5134, allocations: 11.98 MB / 0.6529 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002866/0.5163, allocations: 59.62 kB / 0.653 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002635/0.519, allocations: 0.6752 MB / 0.6536 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006725/0.5258, allocations: 1.961 MB / 0.6556 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003684/0.5295, allocations: 1.211 MB / 0.6567 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004872/0.5344, allocations: 3.082 MB / 0.6597 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.536, allocations: 1.105 MB / 0.6608 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003314/0.5394, allocations: 1.324 MB / 0.6621 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.5409, allocations: 0.9023 MB / 0.663 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.5411, allocations: 116 kB / 0.6631 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/0.5442, allocations: 1.458 MB / 0.6645 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003125/0.5445, allocations: 290.9 kB / 0.6648 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008564/0.5454, allocations: 0.6958 MB / 0.6655 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003555/0.5489, allocations: 2.317 MB / 0.6678 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.549, allocations: 0 / 0.6678 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.549, allocations: 0 / 0.6678 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.549, allocations: 0 / 0.6678 GB, free: 5.66 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.003287/0.5523, allocations: 1.732 MB / 0.6694 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.5523, allocations: 12.03 kB / 0.6695 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/0.554, allocations: 347 kB / 0.6698 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/0.5563, allocations: 1.155 MB / 0.6709 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.147e-05/0.5564, allocations: 62 kB / 0.671 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.5565, allocations: 80 kB / 0.6711 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.5584, allocations: 0.9741 MB / 0.672 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.5584, allocations: 3.938 kB / 0.672 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.569e-05/0.5585, allocations: 36 kB / 0.672 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.5585, allocations: 16 kB / 0.6721 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.5604, allocations: 0.7962 MB / 0.6728 GB, free: 284 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.006748/0.5671, allocations: 5.148 MB / 0.6779 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.5686, allocations: 0.555 MB / 0.6784 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/0.5692, allocations: 268.7 kB / 0.6787 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/0.5705, allocations: 1.373 MB / 0.68 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.5706, allocations: 34.56 kB / 0.68 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.254e-06/0.5706, allocations: 0 / 0.68 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.006173/0.5768, allocations: 1.606 MB / 0.6816 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.5768, allocations: 63.41 kB / 0.6817 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.5783, allocations: 1.08 MB / 0.6827 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.5784, allocations: 37.7 kB / 0.6828 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004568/0.5789, allocations: 0.5273 MB / 0.6833 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.579, allocations: 149.8 kB / 0.6834 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/0.5793, allocations: 134.1 kB / 0.6835 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.5794, allocations: 334 kB / 0.6839 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007479/0.5802, allocations: 275.3 kB / 0.6841 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009144/0.5811, allocations: 0.4931 MB / 0.6846 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.5825, allocations: 0.6637 MB / 0.6853 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.5825, allocations: 0 / 0.6853 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002288/0.5848, allocations: 0.9577 MB / 0.6862 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.5848, allocations: 11.98 kB / 0.6862 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.5848, allocations: 4 kB / 0.6862 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.5861, allocations: 312.5 kB / 0.6865 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.5865, allocations: 115.8 kB / 0.6866 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.5879, allocations: 0.8996 MB / 0.6875 GB, free: 296 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.589, allocations: 135.3 kB / 0.6876 GB, free: 160 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/0.5891, allocations: 35.98 kB / 0.6877 GB, free: 124 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001048/0.5901, allocations: 485.2 kB / 0.6881 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008739/0.591, allocations: 0.4931 MB / 0.6886 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00129/0.5923, allocations: 0.6586 MB / 0.6892 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.721e-06/0.5923, allocations: 8 kB / 0.6892 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002269/0.5946, allocations: 0.9498 MB / 0.6902 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5946, allocations: 8 kB / 0.6902 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.5947, allocations: 4 kB / 0.6902 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.5957, allocations: 299 kB / 0.6905 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/0.5961, allocations: 123.8 kB / 0.6906 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.5974, allocations: 0.8957 MB / 0.6915 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.5986, allocations: 127.5 kB / 0.6916 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.448e-05/0.5987, allocations: 27.98 kB / 0.6916 GB, free: 11.86 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.0002644/0.5989, allocations: 218.5 kB / 0.6918 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.5991, allocations: 110.7 kB / 0.6919 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002841/0.602, allocations: 0.9974 MB / 0.6929 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.602, allocations: 11.98 kB / 0.6929 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.602, allocations: 4 kB / 0.6929 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.602, allocations: 0 / 0.6929 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004649/0.6067, allocations: 2.071 MB / 0.6949 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.6067, allocations: 0 / 0.6949 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.6069, allocations: 63.84 kB / 0.695 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000928/0.6079, allocations: 287.4 kB / 0.6953 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.6079, allocations: 15.98 kB / 0.6953 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.6092, allocations: 0.9269 MB / 0.6962 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6093, allocations: 0 / 0.6962 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003103/0.6124, allocations: 1.09 MB / 0.6973 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005313/0.6129, allocations: 263.5 kB / 0.6975 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.6131, allocations: 8 kB / 0.6975 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007208/0.6138, allocations: 67.92 kB / 0.6976 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.882e-05/0.6139, allocations: 47.77 kB / 0.6976 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-05/0.614, allocations: 23.98 kB / 0.6976 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001244/0.6152, allocations: 0.7512 MB / 0.6984 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6152, allocations: 0 / 0.6984 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001769/0.617, allocations: 0.5771 MB / 0.6989 GB, free: 4.152 MB / 0.5294 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.0009573/0.618, allocations: 405.2 kB / 0.6993 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002725/0.6207, allocations: 1.027 MB / 0.7003 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.6207, allocations: 4 kB / 0.7003 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007378/0.6215, allocations: 314.9 kB / 0.7006 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/0.6236, allocations: 0.517 MB / 0.7011 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.6271, allocations: 1.799 MB / 0.7029 GB, free: 80 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007456/0.6278, allocations: 1.065 MB / 0.7039 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008225/0.6287, allocations: 222.9 kB / 0.7042 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.6289, allocations: 75.42 kB / 0.7042 GB, free: 14.7 MB / 0.545 GB Notification: Performance of SimCode: time 9.01e-07/0.6289, allocations: 3.938 kB / 0.7042 GB, free: 14.7 MB / 0.545 GB Notification: Performance of Templates: time 0.04375/0.6726, allocations: 25.05 MB / 0.7287 GB, free: 5.953 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)