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.001038/0.001038, allocations: 104.3 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.001008/0.001008, allocations: 193.1 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.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7761/0.7761, allocations: 132.2 MB / 423.3 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3611, allocations: 80.19 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.04947/0.4107, allocations: 61.16 MB / 0.6412 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01618/0.4269, allocations: 11.97 MB / 0.6529 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001932/0.4288, allocations: 59.69 kB / 0.653 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.4309, allocations: 0.683 MB / 0.6536 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005441/0.4364, allocations: 1.958 MB / 0.6555 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003085/0.4395, allocations: 1.21 MB / 0.6567 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004137/0.4436, allocations: 3.084 MB / 0.6597 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.4453, allocations: 1.109 MB / 0.6608 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002947/0.4483, allocations: 1.327 MB / 0.6621 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.4499, allocations: 0.9033 MB / 0.663 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000301/0.4502, allocations: 116 kB / 0.6631 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002967/0.4532, allocations: 1.451 MB / 0.6645 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004055/0.4536, allocations: 290.9 kB / 0.6648 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.4547, allocations: 0.6958 MB / 0.6655 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003444/0.4582, allocations: 2.317 MB / 0.6677 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4582, allocations: 4 kB / 0.6678 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4582, allocations: 0 / 0.6678 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.4582, allocations: 0 / 0.6678 GB, free: 5.629 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.002872/0.4611, allocations: 1.732 MB / 0.6694 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.4612, allocations: 8.031 kB / 0.6695 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.4628, allocations: 339 kB / 0.6698 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.465, allocations: 1.163 MB / 0.6709 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.43e-05/0.4651, allocations: 62 kB / 0.671 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.4652, allocations: 84 kB / 0.6711 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.467, allocations: 0.974 MB / 0.672 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.4671, allocations: 4 kB / 0.672 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.596e-05/0.4672, allocations: 36 kB / 0.672 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.4672, allocations: 16 kB / 0.6721 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.4691, allocations: 0.7962 MB / 0.6728 GB, free: 252 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.006101/0.4752, allocations: 5.141 MB / 0.6779 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.4766, allocations: 0.5629 MB / 0.6784 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/0.4772, allocations: 260.7 kB / 0.6787 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/0.4785, allocations: 1.373 MB / 0.68 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.4786, allocations: 46.44 kB / 0.68 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.535e-06/0.4786, allocations: 0 / 0.68 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.006152/0.4847, allocations: 1.614 MB / 0.6816 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.4848, allocations: 55.41 kB / 0.6817 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.4866, allocations: 1.076 MB / 0.6827 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.634e-05/0.4867, allocations: 33.7 kB / 0.6827 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000429/0.4871, allocations: 0.5351 MB / 0.6833 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.4872, allocations: 153.8 kB / 0.6834 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.4875, allocations: 134.1 kB / 0.6835 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4876, allocations: 326 kB / 0.6839 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007483/0.4884, allocations: 275.3 kB / 0.6841 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009553/0.4894, allocations: 0.497 MB / 0.6846 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.4908, allocations: 0.6598 MB / 0.6852 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.4908, allocations: 0 / 0.6852 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00251/0.4933, allocations: 0.9499 MB / 0.6862 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.4934, allocations: 8 kB / 0.6862 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.4934, allocations: 4 kB / 0.6862 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.4946, allocations: 308.6 kB / 0.6865 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.4951, allocations: 119.8 kB / 0.6866 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.4966, allocations: 0.9011 MB / 0.6875 GB, free: 276 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.4978, allocations: 147.2 kB / 0.6876 GB, free: 128 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.312e-05/0.4979, allocations: 31.98 kB / 0.6876 GB, free: 96 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001101/0.499, allocations: 489.2 kB / 0.6881 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00095/0.5, allocations: 0.4892 MB / 0.6886 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001417/0.5014, allocations: 0.6547 MB / 0.6892 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.654e-06/0.5015, allocations: 4 kB / 0.6892 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002589/0.5041, allocations: 0.9537 MB / 0.6902 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.5041, allocations: 8 kB / 0.6902 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.5041, allocations: 4 kB / 0.6902 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.5052, allocations: 304.6 kB / 0.6905 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004528/0.5056, allocations: 119.8 kB / 0.6906 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.5069, allocations: 0.8971 MB / 0.6915 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.5081, allocations: 127.5 kB / 0.6916 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.528e-05/0.5082, allocations: 27.98 kB / 0.6916 GB, free: 11.84 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.0002382/0.5084, allocations: 221.5 kB / 0.6918 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/0.5087, allocations: 114.6 kB / 0.6919 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00283/0.5115, allocations: 0.9873 MB / 0.6929 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.5115, allocations: 4 kB / 0.6929 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5116, allocations: 0 / 0.6929 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.5116, allocations: 7.984 kB / 0.6929 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004857/0.5164, allocations: 2.068 MB / 0.6949 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.5165, allocations: 16.05 kB / 0.6949 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.5167, allocations: 51.86 kB / 0.695 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009307/0.5176, allocations: 291.2 kB / 0.6953 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.5177, allocations: 11.98 kB / 0.6953 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.519, allocations: 0.9308 MB / 0.6962 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/0.5191, allocations: 4 kB / 0.6962 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003405/0.5225, allocations: 1.086 MB / 0.6972 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007872/0.5233, allocations: 263.5 kB / 0.6975 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003154/0.5236, allocations: 16 kB / 0.6975 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009068/0.5245, allocations: 67.86 kB / 0.6976 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.5246, allocations: 39.83 kB / 0.6976 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.273e-05/0.5247, allocations: 20 kB / 0.6976 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001379/0.5261, allocations: 0.7512 MB / 0.6984 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.5261, allocations: 0 / 0.6984 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00177/0.5279, allocations: 0.581 MB / 0.6989 GB, free: 4.129 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.0009624/0.5289, allocations: 409.9 kB / 0.6993 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002706/0.5316, allocations: 1.026 MB / 0.7003 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.5316, allocations: 8 kB / 0.7003 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007207/0.5323, allocations: 311.8 kB / 0.7006 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/0.5345, allocations: 0.5101 MB / 0.7011 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/0.5378, allocations: 1.805 MB / 0.7029 GB, free: 48 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007194/0.5386, allocations: 1.057 MB / 0.7039 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007872/0.5394, allocations: 229.2 kB / 0.7041 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.5396, allocations: 75.42 kB / 0.7042 GB, free: 14.67 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.5396, allocations: 0 / 0.7042 GB, free: 14.67 MB / 0.545 GB Notification: Performance of Templates: time 0.04104/0.5806, allocations: 25.05 MB / 0.7287 GB, free: 5.934 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)