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.001061/0.001061, allocations: 118.3 kB / 16.37 MB, free: 5.984 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.0009948/0.0009949, allocations: 192.6 kB / 17.31 MB, free: 5.602 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.218/1.218, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7436/0.7436, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 67.84 kB / 0.5068 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2969, allocations: 80.9 MB / 0.5858 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.04611/0.3431, allocations: 61.17 MB / 0.6455 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01411/0.3572, allocations: 11.97 MB / 0.6572 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.3585, allocations: 59.62 kB / 0.6572 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.36, allocations: 0.6868 MB / 0.6579 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003757/0.3637, allocations: 1.957 MB / 0.6598 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.3661, allocations: 1.214 MB / 0.661 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002899/0.369, allocations: 3.087 MB / 0.664 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.3701, allocations: 1.094 MB / 0.6651 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/0.3723, allocations: 1.325 MB / 0.6664 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.3733, allocations: 0.8984 MB / 0.6673 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.3734, allocations: 112 kB / 0.6674 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.3757, allocations: 1.462 MB / 0.6688 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.3759, allocations: 290.9 kB / 0.6691 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005455/0.3765, allocations: 0.6919 MB / 0.6698 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002299/0.3788, allocations: 2.321 MB / 0.672 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3788, allocations: 0 / 0.672 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3788, allocations: 0 / 0.672 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.3788, allocations: 0 / 0.672 GB, free: 2.02 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.002555/0.3814, allocations: 1.73 MB / 0.6737 GB, free: 232 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3814, allocations: 13.11 kB / 0.6737 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.383, allocations: 339 kB / 0.674 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.3849, allocations: 1.159 MB / 0.6752 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.979e-05/0.385, allocations: 66 kB / 0.6752 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.3851, allocations: 83.98 kB / 0.6753 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.3867, allocations: 0.9703 MB / 0.6763 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.3868, allocations: 3.938 kB / 0.6763 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.667e-05/0.3869, allocations: 32 kB / 0.6763 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.3869, allocations: 20 kB / 0.6763 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.3886, allocations: 0.8001 MB / 0.6771 GB, free: 12.63 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.005426/0.3941, allocations: 5.137 MB / 0.6821 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.3954, allocations: 0.5579 MB / 0.6827 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/0.396, allocations: 260.7 kB / 0.6829 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001228/0.3972, allocations: 1.376 MB / 0.6843 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.3972, allocations: 34.55 kB / 0.6843 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.3972, allocations: 3.938 kB / 0.6843 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.005817/0.4031, allocations: 1.614 MB / 0.6859 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.4031, allocations: 55.41 kB / 0.6859 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.4045, allocations: 1.08 MB / 0.687 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/0.4045, allocations: 37.7 kB / 0.687 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.4049, allocations: 0.5311 MB / 0.6875 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.405, allocations: 149.8 kB / 0.6877 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.4052, allocations: 138.1 kB / 0.6878 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4053, allocations: 334 kB / 0.6881 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006754/0.406, allocations: 275.3 kB / 0.6884 GB, free: 308 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008496/0.4069, allocations: 0.4892 MB / 0.6889 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.4082, allocations: 0.6597 MB / 0.6895 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.4082, allocations: 8 kB / 0.6895 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002117/0.4103, allocations: 0.9577 MB / 0.6905 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4103, allocations: 8 kB / 0.6905 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4103, allocations: 4 kB / 0.6905 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.4114, allocations: 304.6 kB / 0.6908 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.4119, allocations: 119.8 kB / 0.6909 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.4131, allocations: 0.8985 MB / 0.6917 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009395/0.4141, allocations: 139.2 kB / 0.6919 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.365e-05/0.4141, allocations: 31.98 kB / 0.6919 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000904/0.4151, allocations: 494.1 kB / 0.6924 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008134/0.4159, allocations: 496.9 kB / 0.6929 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001241/0.4171, allocations: 0.6589 MB / 0.6935 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/0.4172, allocations: 3.938 kB / 0.6935 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002089/0.4192, allocations: 0.9421 MB / 0.6944 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.4193, allocations: 14.38 kB / 0.6944 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4193, allocations: 4 kB / 0.6944 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009076/0.4202, allocations: 300.5 kB / 0.6947 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.4206, allocations: 123.8 kB / 0.6948 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.4219, allocations: 0.9057 MB / 0.6957 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009248/0.4228, allocations: 123.5 kB / 0.6958 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/0.4229, allocations: 31.98 kB / 0.6959 GB, free: 8.23 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.0001654/0.423, allocations: 220.2 kB / 0.6961 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.4232, allocations: 114.7 kB / 0.6962 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/0.4257, allocations: 0.9912 MB / 0.6972 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.4258, allocations: 8 kB / 0.6972 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4258, allocations: 4 kB / 0.6972 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.4258, allocations: 3.984 kB / 0.6972 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004166/0.43, allocations: 2.067 MB / 0.6992 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.43, allocations: 4 kB / 0.6992 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.4302, allocations: 64.12 kB / 0.6993 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008614/0.431, allocations: 284.6 kB / 0.6995 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.4311, allocations: 19.98 kB / 0.6996 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.4324, allocations: 0.9229 MB / 0.7005 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.4324, allocations: 4.031 kB / 0.7005 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002882/0.4353, allocations: 1.09 MB / 0.7015 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.4356, allocations: 259.5 kB / 0.7018 GB, free: 2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.4357, allocations: 12 kB / 0.7018 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000686/0.4364, allocations: 55.94 kB / 0.7018 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.4365, allocations: 51.75 kB / 0.7019 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/0.4366, allocations: 23.98 kB / 0.7019 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001016/0.4376, allocations: 0.7551 MB / 0.7026 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4376, allocations: 4 kB / 0.7026 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001297/0.4389, allocations: 0.577 MB / 0.7032 GB, free: 0.5156 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.0007268/0.4396, allocations: 402.4 kB / 0.7036 GB, free: 132 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002434/0.4421, allocations: 1.034 MB / 0.7046 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4421, allocations: 0 / 0.7046 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006831/0.4428, allocations: 315.4 kB / 0.7049 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/0.4447, allocations: 0.5158 MB / 0.7054 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.4477, allocations: 1.789 MB / 0.7072 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005811/0.4482, allocations: 1.065 MB / 0.7082 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006724/0.4489, allocations: 227.1 kB / 0.7084 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.4491, allocations: 79.42 kB / 0.7085 GB, free: 11.06 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.4491, allocations: 0 / 0.7085 GB, free: 11.06 MB / 0.545 GB Notification: Performance of Templates: time 0.03581/0.4849, allocations: 25.06 MB / 0.733 GB, free: 2.273 MB / 0.5606 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)