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.001143/0.001143, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009336/0.009336, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.652/1.652, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.039/1.039, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003856, allocations: 9.094 kB / 0.5076 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1754, allocations: 82.3 MB / 0.588 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.3962/0.5717, allocations: 73.4 MB / 0.6596 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02027/0.592, allocations: 12.65 MB / 0.672 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003969/0.596, allocations: 56.97 kB / 0.6721 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00281/0.5989, allocations: 0.679 MB / 0.6727 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009277/0.6082, allocations: 2.263 MB / 0.6749 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004881/0.6131, allocations: 1.269 MB / 0.6762 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01185/0.6249, allocations: 5.548 MB / 0.6816 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003662/0.6287, allocations: 1.146 MB / 0.6827 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005416/0.6341, allocations: 1.312 MB / 0.684 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003855/0.638, allocations: 1.14 MB / 0.6851 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000703/0.6387, allocations: 55.44 kB / 0.6852 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005535/0.6443, allocations: 1.257 MB / 0.6864 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.6454, allocations: 281.6 kB / 0.6866 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003565/0.649, allocations: 0.7991 MB / 0.6874 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007994/0.657, allocations: 2.735 MB / 0.6901 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.6571, allocations: 3.938 kB / 0.6901 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.755e-06/0.6571, allocations: 0 / 0.6901 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.036e-05/0.6572, allocations: 0 / 0.6901 GB, free: 6.25 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.004864/0.662, allocations: 1.785 MB / 0.6918 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.6621, allocations: 10.94 kB / 0.6919 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.6631, allocations: 237.1 kB / 0.6921 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003225/0.6664, allocations: 1.509 MB / 0.6936 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.859e-05/0.6664, allocations: 79.97 kB / 0.6936 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.6666, allocations: 100.6 kB / 0.6937 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.6692, allocations: 1.119 MB / 0.6948 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.6693, allocations: 5.281 kB / 0.6948 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.6694, allocations: 36.66 kB / 0.6949 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.877e-05/0.6694, allocations: 24.97 kB / 0.6949 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002272/0.6717, allocations: 0.9293 MB / 0.6958 GB, free: 3.152 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.008129/0.6799, allocations: 4.917 MB / 0.7006 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.6814, allocations: 0.6591 MB / 0.7012 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008218/0.6822, allocations: 374.2 kB / 0.7016 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006889/0.6829, allocations: 0.8355 MB / 0.7024 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.683, allocations: 38.09 kB / 0.7024 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.906e-06/0.683, allocations: 1.469 kB / 0.7024 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.008034/0.691, allocations: 1.899 MB / 0.7043 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.6911, allocations: 58.28 kB / 0.7044 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/0.6934, allocations: 1.21 MB / 0.7055 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002688/0.6937, allocations: 42.92 kB / 0.7056 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006241/0.6943, allocations: 0.6094 MB / 0.7062 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002917/0.6946, allocations: 212.2 kB / 0.7064 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.6948, allocations: 65.27 kB / 0.7064 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.6949, allocations: 334.4 kB / 0.7068 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007742/0.6957, allocations: 300.5 kB / 0.707 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009498/0.6966, allocations: 0.5015 MB / 0.7075 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.6982, allocations: 0.7418 MB / 0.7083 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.6982, allocations: 1.5 kB / 0.7083 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005402/0.7036, allocations: 1.417 MB / 0.7096 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.7038, allocations: 198.7 kB / 0.7098 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.7038, allocations: 7.75 kB / 0.7098 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008097/0.7047, allocations: 163.6 kB / 0.71 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/0.7053, allocations: 163.8 kB / 0.7102 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.7064, allocations: 0.7363 MB / 0.7109 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.7082, allocations: 165.2 kB / 0.711 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.7083, allocations: 35.92 kB / 0.7111 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.7083, allocations: 3.156 kB / 0.7111 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004801/0.7131, allocations: 1.26 MB / 0.7123 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.7132, allocations: 2.75 kB / 0.7123 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006633/0.7138, allocations: 176.9 kB / 0.7125 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/0.7145, allocations: 158.8 kB / 0.7126 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000957/0.7154, allocations: 0.7333 MB / 0.7133 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.7173, allocations: 153.6 kB / 0.7135 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.7174, allocations: 38.42 kB / 0.7135 GB, free: 8.098 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 (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.001145/0.7186, allocations: 414.8 kB / 0.7139 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005702/0.7191, allocations: 135.3 kB / 0.714 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005534/0.7247, allocations: 1.418 MB / 0.7154 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.781e-05/0.7247, allocations: 6.188 kB / 0.7154 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.7247, allocations: 3.938 kB / 0.7154 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00439/0.7291, allocations: 1.248 MB / 0.7167 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008582/0.7378, allocations: 2.75 MB / 0.7193 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.7378, allocations: 3.375 kB / 0.7193 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005232/0.7383, allocations: 120 kB / 0.7195 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006555/0.739, allocations: 160 kB / 0.7196 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.283e-05/0.7391, allocations: 25.64 kB / 0.7196 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008726/0.74, allocations: 0.7204 MB / 0.7203 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.74, allocations: 7.938 kB / 0.7203 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005846/0.7459, allocations: 1.86 MB / 0.7222 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/0.7471, allocations: 327.1 kB / 0.7225 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005404/0.7476, allocations: 23.98 kB / 0.7225 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.7491, allocations: 87.89 kB / 0.7226 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.7492, allocations: 56.3 kB / 0.7226 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.7494, allocations: 35.98 kB / 0.7227 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002543/0.7519, allocations: 0.8699 MB / 0.7235 GB, free: 376 kB / 0.5294 GB Notification: Performance of sort global known variables: time 3.11e-07/0.752, allocations: 0 / 0.7235 GB, free: 376 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003598/0.7556, allocations: 0.7019 MB / 0.7242 GB, free: 15.66 MB / 0.545 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.001449/0.757, allocations: 456.8 kB / 0.7246 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003243/0.7603, allocations: 1.181 MB / 0.7258 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.7603, allocations: 0 / 0.7258 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.7613, allocations: 409 kB / 0.7262 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005749/0.7671, allocations: 0.7926 MB / 0.727 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005733/0.7728, allocations: 2.802 MB / 0.7297 GB, free: 9.992 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.774, allocations: 1.169 MB / 0.7308 GB, free: 8.797 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001702/0.7758, allocations: 316.2 kB / 0.7311 GB, free: 8.488 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004522/0.7762, allocations: 107.4 kB / 0.7312 GB, free: 8.383 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.7763, allocations: 4 kB / 0.7312 GB, free: 8.379 MB / 0.545 GB Notification: Performance of Templates: time 0.05735/0.8336, allocations: 31.71 MB / 0.7622 GB, free: 9.008 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)