Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001282/0.001283, allocations: 105.6 kB / 16.52 MB, free: 6.266 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.001243/0.001243, allocations: 194.6 kB / 17.44 MB, free: 5.887 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.324/1.324, allocations: 222.9 MB / 241.1 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7214/0.7214, allocations: 115.3 MB / 406.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001508, allocations: 67.89 kB / 493.5 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3488, allocations: 76.17 MB / 0.5564 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06274/0.4115, allocations: 74.68 MB / 0.6293 GB, free: 9.875 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01732/0.4289, allocations: 12.82 MB / 0.6418 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003184/0.4321, allocations: 59.62 kB / 0.6419 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00275/0.4349, allocations: 0.6876 MB / 0.6425 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006791/0.4418, allocations: 2.266 MB / 0.6448 GB, free: 10 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003582/0.4453, allocations: 1.263 MB / 0.646 GB, free: 8.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006928/0.4523, allocations: 5.551 MB / 0.6514 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/0.4544, allocations: 1.188 MB / 0.6526 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003182/0.4576, allocations: 1.357 MB / 0.6539 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002272/0.4599, allocations: 1.178 MB / 0.655 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003655/0.4603, allocations: 72 kB / 0.6551 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003406/0.4637, allocations: 1.275 MB / 0.6564 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005645/0.4643, allocations: 318.6 kB / 0.6567 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001465/0.4658, allocations: 0.8122 MB / 0.6575 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00334/0.4691, allocations: 2.21 MB / 0.6596 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.4692, allocations: 0 / 0.6596 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4692, allocations: 3.938 kB / 0.6596 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.39e-05/0.4692, allocations: 0 / 0.6596 GB, free: 10.73 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00455/0.4738, allocations: 2.087 MB / 0.6617 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.4738, allocations: 11.97 kB / 0.6617 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009049/0.4747, allocations: 230.8 kB / 0.6619 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/0.4774, allocations: 1.507 MB / 0.6634 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.436e-05/0.4775, allocations: 74 kB / 0.6634 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.4777, allocations: 108 kB / 0.6635 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.4798, allocations: 1.096 MB / 0.6646 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.4798, allocations: 3.906 kB / 0.6646 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.25e-05/0.4799, allocations: 36 kB / 0.6646 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-05/0.48, allocations: 31.92 kB / 0.6647 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.4819, allocations: 0.89 MB / 0.6655 GB, free: 4.504 MB / 0.4981 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.006418/0.4883, allocations: 4.901 MB / 0.6703 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.4897, allocations: 0.6308 MB / 0.6709 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007194/0.4905, allocations: 358.3 kB / 0.6713 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006671/0.4911, allocations: 0.8277 MB / 0.6721 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.4912, allocations: 43.11 kB / 0.6721 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.746e-06/0.4912, allocations: 4 kB / 0.6721 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.007339/0.4985, allocations: 1.693 MB / 0.6738 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.4986, allocations: 55.97 kB / 0.6738 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.5004, allocations: 1.206 MB / 0.675 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.5006, allocations: 49.64 kB / 0.6751 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005089/0.5011, allocations: 0.5987 MB / 0.6757 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.5014, allocations: 216.8 kB / 0.6759 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/0.5016, allocations: 158.6 kB / 0.676 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5018, allocations: 330 kB / 0.6763 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00069/0.5025, allocations: 288.7 kB / 0.6766 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008968/0.5034, allocations: 494.9 kB / 0.6771 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.5048, allocations: 0.712 MB / 0.6778 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.5048, allocations: 4 kB / 0.6778 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004825/0.5097, allocations: 1.284 MB / 0.679 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.5097, allocations: 4 kB / 0.679 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.5097, allocations: 4.375 kB / 0.679 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007542/0.5105, allocations: 156.7 kB / 0.6792 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/0.5112, allocations: 159.8 kB / 0.6793 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008686/0.5121, allocations: 0.7197 MB / 0.68 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.5134, allocations: 159 kB / 0.6802 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.1e-05/0.5135, allocations: 31.98 kB / 0.6802 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001146/0.5146, allocations: 0.5488 MB / 0.6808 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007938/0.5154, allocations: 494.9 kB / 0.6812 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001368/0.5168, allocations: 0.7004 MB / 0.6819 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.175e-06/0.5168, allocations: 4 kB / 0.6819 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00473/0.5215, allocations: 1.273 MB / 0.6832 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.5216, allocations: 4 kB / 0.6832 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.5216, allocations: 7.938 kB / 0.6832 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006393/0.5222, allocations: 161.8 kB / 0.6833 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006315/0.5229, allocations: 159.7 kB / 0.6835 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008665/0.5238, allocations: 0.7162 MB / 0.6842 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.5251, allocations: 127.5 kB / 0.6843 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.5252, allocations: 31.98 kB / 0.6843 GB, free: 368 kB / 0.5137 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.0003083/0.5255, allocations: 228.9 kB / 0.6846 GB, free: 132 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/0.5258, allocations: 134.5 kB / 0.6847 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00461/0.5304, allocations: 1.286 MB / 0.6859 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.5305, allocations: 12 kB / 0.6859 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5305, allocations: 0 / 0.6859 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003906/0.5344, allocations: 1.115 MB / 0.687 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006829/0.5413, allocations: 2.602 MB / 0.6896 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.5413, allocations: 7.984 kB / 0.6896 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/0.5418, allocations: 116.2 kB / 0.6897 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006352/0.5425, allocations: 152.7 kB / 0.6898 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.472e-05/0.5425, allocations: 16 kB / 0.6899 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008686/0.5434, allocations: 0.7122 MB / 0.6906 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.5434, allocations: 8 kB / 0.6906 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005231/0.5486, allocations: 1.699 MB / 0.6922 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006739/0.5493, allocations: 303.2 kB / 0.6925 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/0.5496, allocations: 16 kB / 0.6925 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008767/0.5504, allocations: 95.81 kB / 0.6926 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.5506, allocations: 52.25 kB / 0.6927 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.34e-05/0.5506, allocations: 31.98 kB / 0.6927 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001235/0.5519, allocations: 0.8699 MB / 0.6935 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5519, allocations: 0 / 0.6935 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001864/0.5537, allocations: 0.7018 MB / 0.6942 GB, free: 5.93 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 (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.0009893/0.5547, allocations: 464.6 kB / 0.6947 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002654/0.5574, allocations: 1.101 MB / 0.6958 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.5574, allocations: 1 kB / 0.6958 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009301/0.5584, allocations: 402.4 kB / 0.6961 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003722/0.5621, allocations: 0.7545 MB / 0.6969 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/0.5664, allocations: 2.782 MB / 0.6996 GB, free: 388 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007019/0.5672, allocations: 1.168 MB / 0.7007 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003793/0.5676, allocations: 111.4 kB / 0.7008 GB, free: 15.07 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.5676, allocations: 4 kB / 0.7008 GB, free: 15.07 MB / 0.545 GB Notification: Performance of Templates: time 0.04156/0.6092, allocations: 30.85 MB / 0.731 GB, free: 424 kB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)