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.001154/0.001154, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9399/0.9399, allocations: 135.2 MB / 425.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.98 kB / 0.5054 GB, free: 5.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1646, allocations: 80.94 MB / 0.5844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.3552/0.5199, allocations: 61.16 MB / 0.6441 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01389/0.5338, allocations: 11.98 MB / 0.6558 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002503/0.5364, allocations: 55.91 kB / 0.6559 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.5385, allocations: 0.6784 MB / 0.6565 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005868/0.5444, allocations: 1.976 MB / 0.6585 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.5475, allocations: 1.182 MB / 0.6596 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004504/0.552, allocations: 3.078 MB / 0.6626 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001809/0.5539, allocations: 1.105 MB / 0.6637 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004056/0.5579, allocations: 1.327 MB / 0.665 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/0.5595, allocations: 0.892 MB / 0.6659 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004023/0.5599, allocations: 116.6 kB / 0.666 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003823/0.5638, allocations: 1.457 MB / 0.6674 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003683/0.5641, allocations: 292.7 kB / 0.6677 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.5654, allocations: 0.6947 MB / 0.6684 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004403/0.5698, allocations: 2.296 MB / 0.6706 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5699, allocations: 0 / 0.6706 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5699, allocations: 0 / 0.6706 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.573e-05/0.5699, allocations: 0 / 0.6706 GB, free: 1.121 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.003625/0.5735, allocations: 1.723 MB / 0.6723 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.5736, allocations: 10 kB / 0.6723 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.5754, allocations: 343 kB / 0.6726 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/0.5777, allocations: 1.109 MB / 0.6737 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000384/0.5781, allocations: 122.5 kB / 0.6738 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.5783, allocations: 87.55 kB / 0.6739 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.5804, allocations: 0.9726 MB / 0.6749 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.5804, allocations: 4.5 kB / 0.6749 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.69e-05/0.5805, allocations: 32.84 kB / 0.6749 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.5806, allocations: 18.69 kB / 0.6749 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/0.5828, allocations: 0.8056 MB / 0.6757 GB, free: 14.3 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.008267/0.5911, allocations: 5.167 MB / 0.6808 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.5928, allocations: 0.5694 MB / 0.6813 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006343/0.5935, allocations: 267 kB / 0.6816 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001535/0.595, allocations: 1.371 MB / 0.6829 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.5951, allocations: 42 kB / 0.6829 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.645e-06/0.5951, allocations: 4 kB / 0.6829 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008262/0.6033, allocations: 1.671 MB / 0.6846 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.6035, allocations: 59.94 kB / 0.6846 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003212/0.6067, allocations: 1.076 MB / 0.6857 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.6068, allocations: 37.23 kB / 0.6857 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006281/0.6075, allocations: 0.5276 MB / 0.6862 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.6076, allocations: 150.1 kB / 0.6864 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003218/0.608, allocations: 142.9 kB / 0.6865 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6081, allocations: 334.2 kB / 0.6868 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00085/0.609, allocations: 279 kB / 0.6871 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.6101, allocations: 0.495 MB / 0.6876 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/0.6117, allocations: 0.6717 MB / 0.6882 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.6117, allocations: 2.812 kB / 0.6882 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003034/0.6148, allocations: 0.9649 MB / 0.6892 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.6148, allocations: 10.03 kB / 0.6892 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.6148, allocations: 9.188 kB / 0.6892 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.6163, allocations: 317.1 kB / 0.6895 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006105/0.6169, allocations: 123.5 kB / 0.6896 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.619, allocations: 0.9103 MB / 0.6905 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.6206, allocations: 149.8 kB / 0.6907 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.6207, allocations: 29.88 kB / 0.6907 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001448/0.6222, allocations: 498.4 kB / 0.6912 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001148/0.6234, allocations: 0.4956 MB / 0.6916 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001693/0.6251, allocations: 0.6576 MB / 0.6923 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.488e-06/0.6251, allocations: 1.375 kB / 0.6923 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003119/0.6282, allocations: 0.9629 MB / 0.6932 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.6283, allocations: 6.219 kB / 0.6932 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.6283, allocations: 5.969 kB / 0.6932 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.6296, allocations: 312.5 kB / 0.6935 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.6301, allocations: 122.4 kB / 0.6937 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.6318, allocations: 0.9173 MB / 0.6945 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.6334, allocations: 133.1 kB / 0.6947 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.6335, allocations: 30.19 kB / 0.6947 GB, free: 2.32 MB / 0.5137 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.0003584/0.6339, allocations: 216.4 kB / 0.6949 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004926/0.6344, allocations: 109.4 kB / 0.695 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003654/0.638, allocations: 1.025 MB / 0.696 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.959e-05/0.6381, allocations: 13.56 kB / 0.696 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.6381, allocations: 0 / 0.696 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.6381, allocations: 2.953 kB / 0.696 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006229/0.6443, allocations: 2.081 MB / 0.6981 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.6444, allocations: 2.25 kB / 0.6981 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.6446, allocations: 56.55 kB / 0.6981 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.6457, allocations: 302.5 kB / 0.6984 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.964e-05/0.6457, allocations: 20.78 kB / 0.6984 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/0.6473, allocations: 0.9453 MB / 0.6994 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.6474, allocations: 4.875 kB / 0.6994 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/0.6511, allocations: 1.104 MB / 0.7004 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009195/0.652, allocations: 256.3 kB / 0.7007 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004958/0.6525, allocations: 15.78 kB / 0.7007 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.6537, allocations: 64.8 kB / 0.7008 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.6539, allocations: 48.53 kB / 0.7008 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.654, allocations: 25.23 kB / 0.7008 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002364/0.6563, allocations: 0.747 MB / 0.7016 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6564, allocations: 0 / 0.7016 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00385/0.6602, allocations: 0.5741 MB / 0.7021 GB, free: 14.77 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.001331/0.6616, allocations: 414 kB / 0.7025 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003408/0.665, allocations: 1.056 MB / 0.7035 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.665, allocations: 0 / 0.7035 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008154/0.6658, allocations: 329.5 kB / 0.7039 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/0.6685, allocations: 0.512 MB / 0.7044 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004572/0.6731, allocations: 1.836 MB / 0.7062 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.6742, allocations: 1.063 MB / 0.7072 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00124/0.6754, allocations: 218.9 kB / 0.7074 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.6757, allocations: 81.42 kB / 0.7075 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of SimCode: time 1.623e-06/0.6757, allocations: 1.375 kB / 0.7075 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of Templates: time 0.04652/0.7222, allocations: 25.09 MB / 0.732 GB, free: 4.852 MB / 0.545 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)