Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.00712/0.00712, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.535/1.535, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9725/0.9725, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005208/0.0005207, allocations: 12 kB / 0.5076 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2481, allocations: 82.31 MB / 0.588 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.4568/0.705, allocations: 59.74 MB / 0.6463 GB, free: 17.33 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01559/0.7206, allocations: 11.93 MB / 0.6579 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002598/0.7233, allocations: 48.94 kB / 0.658 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.725, allocations: 0.5477 MB / 0.6585 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005362/0.7304, allocations: 1.806 MB / 0.6603 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00267/0.733, allocations: 1.079 MB / 0.6613 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004653/0.7377, allocations: 3.922 MB / 0.6652 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.7394, allocations: 0.9015 MB / 0.6661 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00285/0.7422, allocations: 1.126 MB / 0.6672 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.7439, allocations: 0.8674 MB / 0.668 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.7441, allocations: 41.56 kB / 0.668 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/0.7472, allocations: 1.33 MB / 0.6693 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002799/0.7475, allocations: 216.3 kB / 0.6695 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008104/0.7483, allocations: 0.6372 MB / 0.6702 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00389/0.7522, allocations: 2.212 MB / 0.6723 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.7522, allocations: 5.094 kB / 0.6723 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7522, allocations: 0 / 0.6723 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.818e-05/0.7522, allocations: 0 / 0.6723 GB, free: 2.254 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.003008/0.7553, allocations: 1.513 MB / 0.6738 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.7553, allocations: 13.47 kB / 0.6738 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002495/0.7578, allocations: 473.2 kB / 0.6743 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.7603, allocations: 1.135 MB / 0.6754 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000396/0.7607, allocations: 132.2 kB / 0.6755 GB, free: 388 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.7608, allocations: 83.5 kB / 0.6756 GB, free: 360 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002811/0.7636, allocations: 1.028 MB / 0.6766 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.7637, allocations: 1.312 kB / 0.6766 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-05/0.7638, allocations: 31.22 kB / 0.6766 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-05/0.7638, allocations: 20.12 kB / 0.6766 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003099/0.7669, allocations: 0.9493 MB / 0.6776 GB, free: 15.57 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.00874/0.7757, allocations: 4.906 MB / 0.6824 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003915/0.7796, allocations: 0.9095 MB / 0.6833 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.7807, allocations: 347.4 kB / 0.6836 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008822/0.7816, allocations: 0.9078 MB / 0.6845 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.7816, allocations: 37.83 kB / 0.6845 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 3.827e-06/0.7816, allocations: 0 / 0.6845 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.007622/0.7893, allocations: 1.847 MB / 0.6863 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.7893, allocations: 61.25 kB / 0.6864 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/0.792, allocations: 1.059 MB / 0.6874 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001769/0.7922, allocations: 37.3 kB / 0.6874 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005815/0.7928, allocations: 0.5236 MB / 0.6879 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.793, allocations: 154.3 kB / 0.6881 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.666e-05/0.7931, allocations: 52.08 kB / 0.6881 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.7933, allocations: 326.1 kB / 0.6885 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.7944, allocations: 343.6 kB / 0.6888 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.7957, allocations: 0.5497 MB / 0.6893 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002607/0.7984, allocations: 0.7726 MB / 0.6901 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.7984, allocations: 2.438 kB / 0.6901 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.004083/0.8025, allocations: 1.078 MB / 0.6911 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002263/0.8027, allocations: 218.5 kB / 0.6913 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.8028, allocations: 4.969 kB / 0.6913 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001624/0.8044, allocations: 337.1 kB / 0.6917 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/0.8051, allocations: 137.2 kB / 0.6918 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.8069, allocations: 0.9447 MB / 0.6927 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.8088, allocations: 200.7 kB / 0.6929 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.815e-05/0.8089, allocations: 29.06 kB / 0.6929 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.8089, allocations: 4 kB / 0.6929 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003029/0.812, allocations: 0.9519 MB / 0.6939 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.812, allocations: 9.094 kB / 0.6939 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/0.8133, allocations: 324 kB / 0.6942 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.8139, allocations: 136.3 kB / 0.6943 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.8155, allocations: 0.9389 MB / 0.6952 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.8171, allocations: 177.4 kB / 0.6954 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.94e-05/0.8172, allocations: 31.88 kB / 0.6954 GB, free: 5.18 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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.000854/0.8181, allocations: 358.9 kB / 0.6958 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/0.8184, allocations: 111.6 kB / 0.6959 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003777/0.8221, allocations: 1.19 MB / 0.697 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/0.8222, allocations: 6.641 kB / 0.6971 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.8222, allocations: 4 kB / 0.6971 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.8222, allocations: 4.094 kB / 0.6971 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006553/0.8288, allocations: 2.315 MB / 0.6993 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/0.8288, allocations: 5.969 kB / 0.6993 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.8292, allocations: 79.38 kB / 0.6994 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/0.8304, allocations: 324.3 kB / 0.6997 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.8305, allocations: 11.55 kB / 0.6997 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.8323, allocations: 0.97 MB / 0.7007 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/0.8323, allocations: 6.625 kB / 0.7007 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004442/0.8367, allocations: 1.315 MB / 0.702 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008876/0.8377, allocations: 286 kB / 0.7022 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.8378, allocations: 16.58 kB / 0.7022 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.8388, allocations: 124.5 kB / 0.7024 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.839, allocations: 45.06 kB / 0.7024 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.245e-05/0.839, allocations: 27.14 kB / 0.7024 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001456/0.8405, allocations: 0.7456 MB / 0.7032 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.21e-07/0.8405, allocations: 0 / 0.7032 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002006/0.8425, allocations: 0.5595 MB / 0.7037 GB, free: 1.219 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 (34): * Single equations (assignments): 29 * 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.001039/0.8436, allocations: 389.8 kB / 0.7041 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003844/0.8474, allocations: 1.225 MB / 0.7053 GB, free: 488 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.8475, allocations: 3.938 kB / 0.7053 GB, free: 484 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.8485, allocations: 391.7 kB / 0.7057 GB, free: 320 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003068/0.8516, allocations: 0.5028 MB / 0.7061 GB, free: 60 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005979/0.8576, allocations: 2.576 MB / 0.7087 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008149/0.8584, allocations: 1.071 MB / 0.7097 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001071/0.8595, allocations: 214.6 kB / 0.7099 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.8597, allocations: 72.39 kB / 0.71 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.032e-06/0.8597, allocations: 0 / 0.71 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.04891/0.9086, allocations: 24.05 MB / 0.7335 GB, free: 6.375 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)