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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 181.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7147/0.7147, allocations: 133.3 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.653/1.653, allocations: 222.9 MB / 404.7 MB, free: 6.098 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 99.77 kB / 485.9 MB, free: 7.25 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009709/0.0009709, allocations: 55.91 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1262, allocations: 80.43 MB / 0.6421 GB, free: 5.453 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.351/0.4772, allocations: 74.67 MB / 0.7151 GB, free: 22.68 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0169/0.4942, allocations: 12.8 MB / 0.7276 GB, free: 17.88 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003168/0.4974, allocations: 64.19 kB / 0.7276 GB, free: 17.85 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002329/0.4997, allocations: 0.6723 MB / 0.7283 GB, free: 17.45 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006862/0.5066, allocations: 2.271 MB / 0.7305 GB, free: 16.08 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003647/0.5103, allocations: 1.268 MB / 0.7317 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.007693/0.518, allocations: 5.569 MB / 0.7372 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/0.5204, allocations: 1.181 MB / 0.7383 GB, free: 12.65 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003447/0.5239, allocations: 1.376 MB / 0.7397 GB, free: 12.01 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.5257, allocations: 1.178 MB / 0.7408 GB, free: 11.31 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001978/0.5259, allocations: 73.81 kB / 0.7409 GB, free: 11.31 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003425/0.5293, allocations: 1.28 MB / 0.7421 GB, free: 10.6 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003517/0.5297, allocations: 316.3 kB / 0.7424 GB, free: 10.36 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009749/0.5307, allocations: 0.8044 MB / 0.7432 GB, free: 9.852 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003511/0.5342, allocations: 2.799 MB / 0.746 GB, free: 7.957 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5342, allocations: 0 / 0.746 GB, free: 7.957 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.5342, allocations: 0 / 0.746 GB, free: 7.957 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.5342, allocations: 0 / 0.746 GB, free: 7.957 MB / 490.7 MB 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.003257/0.5375, allocations: 2.087 MB / 0.748 GB, free: 6.367 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.5376, allocations: 14.77 kB / 0.748 GB, free: 6.363 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007274/0.5383, allocations: 229.4 kB / 0.7482 GB, free: 6.254 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/0.5404, allocations: 1.492 MB / 0.7497 GB, free: 5.062 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.5404, allocations: 76.16 kB / 0.7498 GB, free: 5.027 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.5406, allocations: 102 kB / 0.7499 GB, free: 4.996 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.5422, allocations: 1.103 MB / 0.7509 GB, free: 4.312 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.5423, allocations: 2.344 kB / 0.7509 GB, free: 4.312 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.998e-05/0.5424, allocations: 41 kB / 0.751 GB, free: 4.281 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/0.5424, allocations: 29.94 kB / 0.751 GB, free: 4.277 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/0.5441, allocations: 0.8858 MB / 0.7519 GB, free: 3.828 MB / 490.7 MB 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.005103/0.5492, allocations: 4.906 MB / 0.7567 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.5506, allocations: 0.6324 MB / 0.7573 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007353/0.5513, allocations: 352.6 kB / 0.7576 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006533/0.552, allocations: 0.8277 MB / 0.7584 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.552, allocations: 43.06 kB / 0.7585 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=62): time 2.665e-06/0.5521, allocations: 4 kB / 0.7585 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=62): time 0.007422/0.5595, allocations: 1.685 MB / 0.7601 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.5595, allocations: 59.97 kB / 0.7602 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.5612, allocations: 1.21 MB / 0.7613 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.553e-05/0.5613, allocations: 37.7 kB / 0.7614 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000473/0.5618, allocations: 0.6026 MB / 0.762 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.562, allocations: 216.9 kB / 0.7622 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.5622, allocations: 158.5 kB / 0.7623 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5623, allocations: 334 kB / 0.7626 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007118/0.563, allocations: 292.6 kB / 0.7629 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008339/0.5639, allocations: 491 kB / 0.7634 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.5653, allocations: 0.7082 MB / 0.7641 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5653, allocations: 0 / 0.7641 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004835/0.5702, allocations: 1.284 MB / 0.7653 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.5702, allocations: 9.719 kB / 0.7653 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5702, allocations: 4.312 kB / 0.7654 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007253/0.5709, allocations: 164.7 kB / 0.7655 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005909/0.5715, allocations: 155.7 kB / 0.7657 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008698/0.5724, allocations: 0.7124 MB / 0.7664 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.5736, allocations: 163 kB / 0.7665 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.949e-05/0.5737, allocations: 31.98 kB / 0.7665 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001113/0.5748, allocations: 0.5526 MB / 0.7671 GB, free: 4.793 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008371/0.5756, allocations: 492.5 kB / 0.7675 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001445/0.5771, allocations: 0.7003 MB / 0.7682 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.15e-05/0.5771, allocations: 4 kB / 0.7682 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004765/0.5819, allocations: 1.263 MB / 0.7695 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.5819, allocations: 8 kB / 0.7695 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5819, allocations: 4 kB / 0.7695 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000613/0.5825, allocations: 161.1 kB / 0.7696 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006106/0.5832, allocations: 159.8 kB / 0.7698 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008527/0.584, allocations: 0.72 MB / 0.7705 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.5852, allocations: 143.4 kB / 0.7706 GB, free: 1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.945e-05/0.5853, allocations: 28 kB / 0.7707 GB, free: 0.9727 MB / 0.4948 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.0002325/0.5856, allocations: 221.4 kB / 0.7709 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/0.5858, allocations: 142.3 kB / 0.771 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004974/0.5908, allocations: 1.287 MB / 0.7723 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.5909, allocations: 4 kB / 0.7723 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.5909, allocations: 4 kB / 0.7723 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004361/0.5952, allocations: 1.107 MB / 0.7733 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007114/0.6024, allocations: 2.617 MB / 0.7759 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.6024, allocations: 7.938 kB / 0.7759 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004997/0.6029, allocations: 120.2 kB / 0.776 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006324/0.6036, allocations: 144.7 kB / 0.7762 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.738e-05/0.6036, allocations: 23.98 kB / 0.7762 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008175/0.6044, allocations: 0.7044 MB / 0.7769 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.6045, allocations: 4 kB / 0.7769 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04161/0.6461, allocations: 12.03 MB / 0.7886 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008267/0.6469, allocations: 311.2 kB / 0.7889 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003379/0.6473, allocations: 19.88 kB / 0.7889 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.6484, allocations: 91.97 kB / 0.789 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.6486, allocations: 48.31 kB / 0.7891 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.6487, allocations: 35.97 kB / 0.7891 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001663/0.6504, allocations: 0.866 MB / 0.79 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6504, allocations: 0 / 0.79 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004144/0.6546, allocations: 1.104 MB / 0.791 GB, free: 11.48 MB / 0.5261 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.001172/0.6558, allocations: 461 kB / 0.7915 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002909/0.6587, allocations: 1.11 MB / 0.7926 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.6587, allocations: 7.938 kB / 0.7926 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.6597, allocations: 382.4 kB / 0.7929 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004136/0.6639, allocations: 0.7596 MB / 0.7937 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005099/0.669, allocations: 3.344 MB / 0.7969 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.67, allocations: 1.206 MB / 0.7981 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001644/0.6717, allocations: 307 kB / 0.7984 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/0.672, allocations: 111.3 kB / 0.7985 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of SimCode: time 6.62e-07/0.6721, allocations: 0 / 0.7985 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of Templates: time 0.0557/0.7278, allocations: 33.75 MB / 0.8315 GB, free: 2.262 MB / 0.5573 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)