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.001532/0.001532, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.001514/0.001514, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.334/1.334, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7812/0.7812, allocations: 135.2 MB / 425.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 67.89 kB / 0.5055 GB, free: 8.723 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3156, allocations: 80.91 MB / 0.5846 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05127/0.3669, allocations: 60.67 MB / 0.6438 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01645/0.3834, allocations: 11.89 MB / 0.6554 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/0.3855, allocations: 55.62 kB / 0.6555 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.3874, allocations: 0.5751 MB / 0.656 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00515/0.3926, allocations: 1.827 MB / 0.6578 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.3954, allocations: 1.093 MB / 0.6589 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004144/0.3995, allocations: 3.099 MB / 0.6619 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001668/0.4012, allocations: 1.104 MB / 0.663 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003431/0.4047, allocations: 1.337 MB / 0.6643 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.4062, allocations: 0.9217 MB / 0.6652 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.4064, allocations: 120 kB / 0.6653 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.409, allocations: 1.474 MB / 0.6667 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002932/0.4093, allocations: 294.9 kB / 0.667 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007999/0.4101, allocations: 0.6958 MB / 0.6677 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002292/0.4124, allocations: 1.778 MB / 0.6694 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4125, allocations: 0 / 0.6694 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4125, allocations: 0 / 0.6694 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.466e-05/0.4125, allocations: 0 / 0.6694 GB, free: 3.582 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.003141/0.4156, allocations: 1.73 MB / 0.6711 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4157, allocations: 9.109 kB / 0.6711 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.4173, allocations: 351 kB / 0.6715 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/0.4195, allocations: 1.123 MB / 0.6726 GB, free: 268 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003347/0.4199, allocations: 121.9 kB / 0.6727 GB, free: 144 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.42, allocations: 80 kB / 0.6728 GB, free: 64 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.422, allocations: 0.9427 MB / 0.6737 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.422, allocations: 7.938 kB / 0.6737 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.553e-05/0.4221, allocations: 32 kB / 0.6737 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.4221, allocations: 23.98 kB / 0.6737 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.4241, allocations: 0.8001 MB / 0.6745 GB, free: 14.21 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.006517/0.4306, allocations: 4.747 MB / 0.6792 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.4322, allocations: 0.5721 MB / 0.6797 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005813/0.4327, allocations: 275.1 kB / 0.68 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/0.4342, allocations: 1.373 MB / 0.6813 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.4343, allocations: 34.56 kB / 0.6814 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.284e-06/0.4343, allocations: 0 / 0.6814 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.006702/0.441, allocations: 1.68 MB / 0.683 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.4411, allocations: 59.34 kB / 0.6831 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.4427, allocations: 1.051 MB / 0.6841 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.728e-05/0.4427, allocations: 41.69 kB / 0.6841 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004563/0.4432, allocations: 0.5158 MB / 0.6846 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.4434, allocations: 153.8 kB / 0.6848 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.4436, allocations: 126 kB / 0.6849 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.4438, allocations: 326 kB / 0.6852 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007185/0.4445, allocations: 274.9 kB / 0.6855 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009112/0.4454, allocations: 477.9 kB / 0.6859 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.4468, allocations: 0.6311 MB / 0.6865 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.4468, allocations: 0 / 0.6865 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00242/0.4492, allocations: 0.9221 MB / 0.6874 GB, free: 96 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.4493, allocations: 11.94 kB / 0.6875 GB, free: 84 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4493, allocations: 4 kB / 0.6875 GB, free: 80 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.4506, allocations: 317 kB / 0.6878 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/0.451, allocations: 111.9 kB / 0.6879 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.4525, allocations: 0.914 MB / 0.6888 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.4537, allocations: 163.2 kB / 0.6889 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.585e-05/0.4538, allocations: 27.98 kB / 0.6889 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001066/0.4549, allocations: 485.1 kB / 0.6894 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000906/0.4558, allocations: 481 kB / 0.6899 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001325/0.4572, allocations: 0.6161 MB / 0.6905 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.811e-06/0.4572, allocations: 3.938 kB / 0.6905 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002344/0.4595, allocations: 0.9221 MB / 0.6914 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.4596, allocations: 4 kB / 0.6914 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.4596, allocations: 8 kB / 0.6914 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.4606, allocations: 304.7 kB / 0.6917 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.4611, allocations: 115.8 kB / 0.6918 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.4625, allocations: 0.9074 MB / 0.6927 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.4636, allocations: 151.5 kB / 0.6928 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/0.4637, allocations: 27.98 kB / 0.6928 GB, free: 10.36 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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.0002281/0.4639, allocations: 220.9 kB / 0.693 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.4641, allocations: 110.6 kB / 0.6932 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002907/0.467, allocations: 1.009 MB / 0.6941 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.4671, allocations: 8 kB / 0.6941 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.4671, allocations: 7.875 kB / 0.6942 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4671, allocations: 3.984 kB / 0.6942 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00469/0.4718, allocations: 2.098 MB / 0.6962 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.4718, allocations: 4 kB / 0.6962 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.472, allocations: 51.91 kB / 0.6963 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009425/0.473, allocations: 308.8 kB / 0.6966 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.473, allocations: 12 kB / 0.6966 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/0.4745, allocations: 0.9409 MB / 0.6975 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.4745, allocations: 7.969 kB / 0.6975 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003123/0.4776, allocations: 1.105 MB / 0.6986 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004241/0.4781, allocations: 267.4 kB / 0.6988 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.4782, allocations: 11.94 kB / 0.6988 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007949/0.479, allocations: 87.91 kB / 0.6989 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/0.4791, allocations: 31.95 kB / 0.699 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/0.4792, allocations: 23.98 kB / 0.699 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001167/0.4804, allocations: 0.7391 MB / 0.6997 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.3e-07/0.4804, allocations: 0 / 0.6997 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0015/0.4819, allocations: 0.5692 MB / 0.7003 GB, free: 2.559 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.0007901/0.4827, allocations: 397.9 kB / 0.7006 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002712/0.4854, allocations: 1.023 MB / 0.7016 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4854, allocations: 0 / 0.7016 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007592/0.4862, allocations: 322.5 kB / 0.7019 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.4884, allocations: 0.5157 MB / 0.7024 GB, free: 360 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/0.492, allocations: 2.257 MB / 0.7046 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007179/0.4927, allocations: 1.061 MB / 0.7057 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.493, allocations: 83.42 kB / 0.7058 GB, free: 12.86 MB / 0.545 GB Notification: Performance of SimCode: time 2.195e-06/0.493, allocations: 0 / 0.7058 GB, free: 12.86 MB / 0.545 GB Notification: Performance of Templates: time 0.03228/0.5253, allocations: 23.85 MB / 0.7291 GB, free: 5.176 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)