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.001242/0.001242, allocations: 111 kB / 16.37 MB, free: 6.012 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.001183/0.001183, allocations: 191 kB / 17.3 MB, free: 5.613 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.229/1.229, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7485/0.7485, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 64.14 kB / 0.5067 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.295, allocations: 80.92 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.05856/0.3536, allocations: 75.14 MB / 0.6591 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01601/0.3696, allocations: 12.73 MB / 0.6716 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/0.3715, allocations: 67.62 kB / 0.6716 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.3733, allocations: 0.8306 MB / 0.6725 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005057/0.3784, allocations: 2.46 MB / 0.6749 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.3812, allocations: 1.396 MB / 0.6762 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004288/0.3855, allocations: 4.388 MB / 0.6805 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.387, allocations: 1.449 MB / 0.6819 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002604/0.3896, allocations: 1.61 MB / 0.6835 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.3909, allocations: 1.202 MB / 0.6847 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.3911, allocations: 164 kB / 0.6848 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002505/0.3936, allocations: 1.423 MB / 0.6862 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003222/0.3939, allocations: 398.6 kB / 0.6866 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008758/0.3948, allocations: 0.8982 MB / 0.6875 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002965/0.3978, allocations: 2.884 MB / 0.6903 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3978, allocations: 0 / 0.6903 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3978, allocations: 0 / 0.6903 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.3978, allocations: 4 kB / 0.6903 GB, free: 15.25 MB / 0.5294 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.003161/0.401, allocations: 2.083 MB / 0.6923 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.401, allocations: 13.11 kB / 0.6923 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007241/0.4018, allocations: 226.8 kB / 0.6926 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.404, allocations: 1.524 MB / 0.694 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.057e-05/0.4041, allocations: 81.98 kB / 0.6941 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.4042, allocations: 103.9 kB / 0.6942 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.406, allocations: 1.1 MB / 0.6953 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.406, allocations: 4 kB / 0.6953 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.918e-05/0.4061, allocations: 39.98 kB / 0.6953 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.539e-05/0.4062, allocations: 35.92 kB / 0.6954 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.4079, allocations: 0.886 MB / 0.6962 GB, free: 9.008 MB / 0.5294 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.005214/0.4131, allocations: 4.911 MB / 0.701 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.4144, allocations: 0.6246 MB / 0.7016 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006593/0.415, allocations: 350.3 kB / 0.702 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005679/0.4156, allocations: 0.8277 MB / 0.7028 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.4157, allocations: 39.12 kB / 0.7028 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 1.673e-06/0.4157, allocations: 0 / 0.7028 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.006365/0.422, allocations: 1.697 MB / 0.7045 GB, free: 48 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.4221, allocations: 59.97 kB / 0.7045 GB, free: 15.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.4235, allocations: 1.229 MB / 0.7057 GB, free: 14.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.543e-05/0.4235, allocations: 41.7 kB / 0.7058 GB, free: 14.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004401/0.424, allocations: 0.5949 MB / 0.7064 GB, free: 14.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.4242, allocations: 220.8 kB / 0.7066 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.4244, allocations: 158.5 kB / 0.7067 GB, free: 13.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4245, allocations: 330 kB / 0.707 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006/0.4251, allocations: 292.7 kB / 0.7073 GB, free: 13.08 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007557/0.4259, allocations: 491 kB / 0.7078 GB, free: 12.53 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.4271, allocations: 0.7042 MB / 0.7085 GB, free: 11.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.4272, allocations: 7.938 kB / 0.7085 GB, free: 11.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004082/0.4312, allocations: 1.273 MB / 0.7097 GB, free: 10.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4313, allocations: 8 kB / 0.7097 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.4313, allocations: 4 kB / 0.7097 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006071/0.4319, allocations: 163.8 kB / 0.7099 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005553/0.4325, allocations: 155.8 kB / 0.71 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007602/0.4332, allocations: 0.7162 MB / 0.7107 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007905/0.434, allocations: 126.9 kB / 0.7109 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.216e-05/0.4341, allocations: 28 kB / 0.7109 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009198/0.435, allocations: 0.5575 MB / 0.7114 GB, free: 8.703 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007423/0.4358, allocations: 490.2 kB / 0.7119 GB, free: 8.156 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001241/0.437, allocations: 0.6965 MB / 0.7126 GB, free: 7.418 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.405e-06/0.437, allocations: 4 kB / 0.7126 GB, free: 7.414 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004051/0.4411, allocations: 1.269 MB / 0.7138 GB, free: 6.133 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.4411, allocations: 14.28 kB / 0.7138 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4411, allocations: 4 kB / 0.7138 GB, free: 6.117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005175/0.4417, allocations: 157.1 kB / 0.714 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/0.4422, allocations: 159.7 kB / 0.7141 GB, free: 5.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000728/0.443, allocations: 0.7201 MB / 0.7148 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008087/0.4438, allocations: 91.52 kB / 0.7149 GB, free: 4.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-05/0.4438, allocations: 35.98 kB / 0.715 GB, free: 4.934 MB / 0.545 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 (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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001848/0.444, allocations: 232 kB / 0.7152 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.4442, allocations: 138.3 kB / 0.7153 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004291/0.4485, allocations: 1.284 MB / 0.7166 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.4485, allocations: 4 kB / 0.7166 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4486, allocations: 0 / 0.7166 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003701/0.4523, allocations: 1.119 MB / 0.7177 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005752/0.458, allocations: 2.622 MB / 0.7202 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.458, allocations: 4 kB / 0.7202 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004549/0.4585, allocations: 115.8 kB / 0.7203 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005347/0.459, allocations: 149.7 kB / 0.7205 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-05/0.4591, allocations: 23.98 kB / 0.7205 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007207/0.4598, allocations: 0.7122 MB / 0.7212 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.4599, allocations: 4 kB / 0.7212 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004671/0.4645, allocations: 1.711 MB / 0.7229 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004843/0.465, allocations: 307.2 kB / 0.7232 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.4652, allocations: 16 kB / 0.7232 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007444/0.466, allocations: 55.92 kB / 0.7232 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.4661, allocations: 60.31 kB / 0.7233 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.888e-05/0.4661, allocations: 27.98 kB / 0.7233 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001196/0.4673, allocations: 0.8816 MB / 0.7242 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4673, allocations: 0 / 0.7242 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001613/0.469, allocations: 0.7135 MB / 0.7249 GB, free: 10.47 MB / 0.5606 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 (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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008234/0.4698, allocations: 471.2 kB / 0.7253 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002378/0.4722, allocations: 1.128 MB / 0.7264 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4722, allocations: 0 / 0.7264 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008236/0.473, allocations: 391.6 kB / 0.7268 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/0.4759, allocations: 0.7962 MB / 0.7276 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/0.4792, allocations: 2.268 MB / 0.7298 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006873/0.4799, allocations: 1.168 MB / 0.7309 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008781/0.4808, allocations: 306.2 kB / 0.7312 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.481, allocations: 111.4 kB / 0.7313 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.481, allocations: 0 / 0.7313 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of Templates: time 0.2613/0.7424, allocations: 31.93 MB / 0.7625 GB, free: 149.4 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)