Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.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_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008834/0.0008836, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001135/0.001135, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.2 MB / 240 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.005/1.005, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003949, allocations: 19.94 kB / 0.507 GB, free: 5.094 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1736, allocations: 82.31 MB / 0.5874 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.4163/0.5899, allocations: 69.38 MB / 0.6551 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01761/0.6076, allocations: 11.93 MB / 0.6668 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002874/0.6105, allocations: 56.62 kB / 0.6668 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.6126, allocations: 0.5639 MB / 0.6674 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006545/0.6191, allocations: 1.888 MB / 0.6692 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003195/0.6224, allocations: 0.9662 MB / 0.6702 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007934/0.6303, allocations: 4.789 MB / 0.6748 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002255/0.6326, allocations: 1.019 MB / 0.6758 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003388/0.636, allocations: 1.268 MB / 0.6771 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00255/0.6385, allocations: 1.068 MB / 0.6781 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.6388, allocations: 54.84 kB / 0.6782 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.6419, allocations: 0.9404 MB / 0.6791 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004561/0.6424, allocations: 271.1 kB / 0.6793 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007893/0.6432, allocations: 357.1 kB / 0.6797 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003964/0.6472, allocations: 2.089 MB / 0.6817 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6472, allocations: 0 / 0.6817 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6472, allocations: 4 kB / 0.6817 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.976e-05/0.6472, allocations: 0 / 0.6817 GB, free: 12.05 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004062/0.6513, allocations: 1.801 MB / 0.6835 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.6514, allocations: 13.66 kB / 0.6835 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007791/0.6522, allocations: 235.3 kB / 0.6837 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002831/0.655, allocations: 1.451 MB / 0.6851 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.885e-05/0.6551, allocations: 76.22 kB / 0.6852 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.6553, allocations: 105.6 kB / 0.6853 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/0.658, allocations: 1.113 MB / 0.6864 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.658, allocations: 5.328 kB / 0.6864 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-05/0.6581, allocations: 38.42 kB / 0.6864 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.72e-05/0.6582, allocations: 25.5 kB / 0.6865 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002171/0.6603, allocations: 0.9256 MB / 0.6874 GB, free: 9.004 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.008282/0.6686, allocations: 4.917 MB / 0.6922 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.6703, allocations: 0.6399 MB / 0.6928 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007689/0.6711, allocations: 371.4 kB / 0.6932 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007877/0.6719, allocations: 0.8336 MB / 0.694 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.6719, allocations: 39.78 kB / 0.694 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.735e-06/0.6719, allocations: 4 kB / 0.694 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.0075/0.6794, allocations: 1.888 MB / 0.6959 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.6795, allocations: 62.56 kB / 0.6959 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.6817, allocations: 1.195 MB / 0.6971 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.6819, allocations: 43.95 kB / 0.6971 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006365/0.6825, allocations: 0.604 MB / 0.6977 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003017/0.6828, allocations: 215.3 kB / 0.6979 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.6829, allocations: 15.56 kB / 0.6979 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.683, allocations: 336.1 kB / 0.6983 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006808/0.6837, allocations: 295.6 kB / 0.6985 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008744/0.6846, allocations: 0.4977 MB / 0.699 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007959/0.6854, allocations: 355.1 kB / 0.6994 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.6854, allocations: 1.219 kB / 0.6994 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004606/0.69, allocations: 1.403 MB / 0.7007 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001654/0.6902, allocations: 190.7 kB / 0.7009 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.6903, allocations: 8.25 kB / 0.7009 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007647/0.691, allocations: 165.1 kB / 0.7011 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006427/0.6917, allocations: 162.4 kB / 0.7012 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008675/0.6926, allocations: 0.7311 MB / 0.7019 GB, free: 156 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.694, allocations: 169.1 kB / 0.7021 GB, free: 60 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-05/0.6941, allocations: 28.28 kB / 0.7021 GB, free: 56 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.6941, allocations: 3.531 kB / 0.7021 GB, free: 56 kB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004227/0.6983, allocations: 1.261 MB / 0.7034 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.6983, allocations: 7.891 kB / 0.7034 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005956/0.6989, allocations: 165.2 kB / 0.7035 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/0.6996, allocations: 167.2 kB / 0.7037 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008493/0.7004, allocations: 0.7309 MB / 0.7044 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.7019, allocations: 156.5 kB / 0.7046 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.92e-05/0.702, allocations: 31.77 kB / 0.7046 GB, free: 14.64 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0009929/0.703, allocations: 422.9 kB / 0.705 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003206/0.7034, allocations: 131.7 kB / 0.7051 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004567/0.708, allocations: 1.413 MB / 0.7065 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.708, allocations: 6.031 kB / 0.7065 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.708, allocations: 1.094 kB / 0.7065 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003926/0.7119, allocations: 1.248 MB / 0.7077 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007203/0.7192, allocations: 2.741 MB / 0.7104 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.7192, allocations: 11.81 kB / 0.7104 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/0.7198, allocations: 117.8 kB / 0.7105 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007475/0.7205, allocations: 156.5 kB / 0.7107 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.767e-05/0.7206, allocations: 19.84 kB / 0.7107 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008773/0.7215, allocations: 0.7189 MB / 0.7114 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/0.7215, allocations: 14.7 kB / 0.7114 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005083/0.7266, allocations: 1.845 MB / 0.7132 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.7277, allocations: 337.3 kB / 0.7135 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/0.7279, allocations: 14.62 kB / 0.7135 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009459/0.7289, allocations: 101.7 kB / 0.7136 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.729, allocations: 56.17 kB / 0.7137 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.598e-05/0.7291, allocations: 33.19 kB / 0.7137 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001354/0.7305, allocations: 0.856 MB / 0.7146 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7305, allocations: 0 / 0.7146 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002122/0.7326, allocations: 0.6998 MB / 0.7152 GB, free: 8.242 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009477/0.7336, allocations: 446.4 kB / 0.7157 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002607/0.7362, allocations: 1.159 MB / 0.7168 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.7362, allocations: 0 / 0.7168 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009342/0.7371, allocations: 416.9 kB / 0.7172 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/0.7408, allocations: 0.7581 MB / 0.7179 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004018/0.7449, allocations: 2.773 MB / 0.7207 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007697/0.7457, allocations: 1.168 MB / 0.7218 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001346/0.747, allocations: 310.9 kB / 0.7221 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.7473, allocations: 103.4 kB / 0.7222 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of SimCode: time 1.212e-06/0.7473, allocations: 4 kB / 0.7222 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of Templates: time 0.04924/0.7965, allocations: 29.2 MB / 0.7507 GB, free: 4.609 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)