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.001512/0.001512, allocations: 101.4 kB / 16.27 MB, free: 6.414 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.001517/0.001518, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.399/1.399, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.837/0.837, allocations: 135.2 MB / 426.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 63.91 kB / 0.506 GB, free: 8.371 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3414, allocations: 80.92 MB / 0.585 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05698/0.3985, allocations: 61.17 MB / 0.6448 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01843/0.4169, allocations: 11.97 MB / 0.6565 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.4189, allocations: 59.62 kB / 0.6565 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.4209, allocations: 0.6829 MB / 0.6572 GB, free: 500 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005451/0.4264, allocations: 1.966 MB / 0.6591 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003386/0.4298, allocations: 1.19 MB / 0.6603 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004692/0.4345, allocations: 3.078 MB / 0.6633 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002029/0.4365, allocations: 1.096 MB / 0.6644 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003338/0.4399, allocations: 1.326 MB / 0.6657 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.4415, allocations: 0.8945 MB / 0.6665 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002624/0.4418, allocations: 120 kB / 0.6666 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003303/0.4451, allocations: 1.454 MB / 0.6681 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000411/0.4456, allocations: 290.9 kB / 0.6683 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009972/0.4466, allocations: 0.6919 MB / 0.669 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003821/0.4504, allocations: 2.302 MB / 0.6713 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4504, allocations: 0 / 0.6713 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4504, allocations: 0 / 0.6713 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.822e-05/0.4505, allocations: 0 / 0.6713 GB, free: 2.023 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.003187/0.4537, allocations: 1.734 MB / 0.673 GB, free: 232 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.4537, allocations: 9.109 kB / 0.673 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.4554, allocations: 347 kB / 0.6733 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/0.4575, allocations: 1.101 MB / 0.6744 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003796/0.4579, allocations: 113.9 kB / 0.6745 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.4581, allocations: 80 kB / 0.6746 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/0.46, allocations: 0.9781 MB / 0.6755 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.4601, allocations: 3.938 kB / 0.6755 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.948e-05/0.4602, allocations: 32 kB / 0.6755 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.4602, allocations: 20 kB / 0.6756 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.4623, allocations: 0.8079 MB / 0.6764 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.006996/0.4693, allocations: 5.168 MB / 0.6814 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.471, allocations: 0.5742 MB / 0.682 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006558/0.4717, allocations: 272.6 kB / 0.6822 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001574/0.4732, allocations: 1.369 MB / 0.6836 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.4733, allocations: 38.56 kB / 0.6836 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.415e-06/0.4733, allocations: 3.938 kB / 0.6836 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.00747/0.4808, allocations: 1.672 MB / 0.6852 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.4808, allocations: 55.41 kB / 0.6853 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.4826, allocations: 1.087 MB / 0.6863 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.837e-05/0.4827, allocations: 33.7 kB / 0.6864 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004979/0.4832, allocations: 0.5273 MB / 0.6869 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.4834, allocations: 149.8 kB / 0.687 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.4836, allocations: 142.1 kB / 0.6872 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.4838, allocations: 330 kB / 0.6875 GB, free: 472 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008342/0.4846, allocations: 275.3 kB / 0.6877 GB, free: 192 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.4857, allocations: 0.501 MB / 0.6882 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.4873, allocations: 0.6752 MB / 0.6889 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.4874, allocations: 4 kB / 0.6889 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002785/0.4901, allocations: 0.9694 MB / 0.6898 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4902, allocations: 4 kB / 0.6899 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.4902, allocations: 8 kB / 0.6899 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.4916, allocations: 312.6 kB / 0.6902 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.4921, allocations: 119.8 kB / 0.6903 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.4937, allocations: 0.9257 MB / 0.6912 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.4949, allocations: 141.2 kB / 0.6913 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.116e-05/0.495, allocations: 31.98 kB / 0.6913 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001167/0.4962, allocations: 493.2 kB / 0.6918 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001061/0.4973, allocations: 0.497 MB / 0.6923 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001552/0.4988, allocations: 0.6589 MB / 0.6929 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.836e-06/0.4988, allocations: 0 / 0.6929 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002687/0.5015, allocations: 0.9693 MB / 0.6939 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.5016, allocations: 8 kB / 0.6939 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5016, allocations: 12.03 kB / 0.6939 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.5028, allocations: 308.6 kB / 0.6942 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/0.5033, allocations: 119.8 kB / 0.6943 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.5049, allocations: 0.9113 MB / 0.6952 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.5061, allocations: 131.5 kB / 0.6953 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-05/0.5062, allocations: 35.98 kB / 0.6954 GB, free: 7.98 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.0002638/0.5065, allocations: 221 kB / 0.6956 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/0.5067, allocations: 106.7 kB / 0.6957 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003193/0.5099, allocations: 1.017 MB / 0.6967 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.51, allocations: 8 kB / 0.6967 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.51, allocations: 0 / 0.6967 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.51, allocations: 3.984 kB / 0.6967 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005177/0.5152, allocations: 2.091 MB / 0.6987 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.5152, allocations: 7.938 kB / 0.6987 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.5155, allocations: 55.91 kB / 0.6988 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/0.5166, allocations: 304.9 kB / 0.6991 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.5166, allocations: 12 kB / 0.6991 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/0.5183, allocations: 0.9445 MB / 0.7 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.5183, allocations: 7.938 kB / 0.7 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/0.522, allocations: 1.105 MB / 0.7011 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005602/0.5226, allocations: 263.5 kB / 0.7013 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.5227, allocations: 11.98 kB / 0.7014 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007867/0.5235, allocations: 63.94 kB / 0.7014 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.674e-05/0.5236, allocations: 39.89 kB / 0.7015 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-05/0.5237, allocations: 27.92 kB / 0.7015 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00129/0.525, allocations: 0.755 MB / 0.7022 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/0.525, allocations: 4 kB / 0.7022 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001593/0.5266, allocations: 0.5732 MB / 0.7028 GB, free: 188 kB / 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.0009107/0.5275, allocations: 403.2 kB / 0.7032 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003124/0.5307, allocations: 1.054 MB / 0.7042 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.5307, allocations: 4 kB / 0.7042 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008551/0.5315, allocations: 326.3 kB / 0.7045 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.534, allocations: 0.5144 MB / 0.705 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.5377, allocations: 1.875 MB / 0.7068 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007468/0.5384, allocations: 1.065 MB / 0.7079 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.5387, allocations: 79.42 kB / 0.708 GB, free: 10.82 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.5387, allocations: 0 / 0.708 GB, free: 10.82 MB / 0.545 GB Notification: Performance of Templates: time 0.03416/0.5728, allocations: 24.09 MB / 0.7315 GB, free: 2.902 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)