Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 108.5 kB / 16.41 MB, free: 6.492 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.001107/0.001107, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8398/0.8398, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 70.83 kB / 0.5863 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1723, allocations: 80.93 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07202/0.2443, allocations: 75.2 MB / 0.7388 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4496/0.694, allocations: 15.12 MB / 0.7535 GB, free: 26.01 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003198/0.6973, allocations: 63.47 kB / 0.7536 GB, free: 26.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002681/0.7, allocations: 0.8344 MB / 0.7544 GB, free: 26.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008342/0.7084, allocations: 2.583 MB / 0.7569 GB, free: 25.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004257/0.7127, allocations: 1.393 MB / 0.7583 GB, free: 25.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01005/0.7227, allocations: 4.388 MB / 0.7626 GB, free: 25.91 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003931/0.7267, allocations: 1.455 MB / 0.764 GB, free: 25.74 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007015/0.7337, allocations: 1.68 MB / 0.7656 GB, free: 25.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004087/0.7379, allocations: 1.212 MB / 0.7668 GB, free: 25.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000661/0.7386, allocations: 162 kB / 0.767 GB, free: 25.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005212/0.7438, allocations: 1.406 MB / 0.7684 GB, free: 25.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007883/0.7446, allocations: 399.4 kB / 0.7687 GB, free: 25.35 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002199/0.7468, allocations: 0.9039 MB / 0.7696 GB, free: 25.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006828/0.7536, allocations: 2.875 MB / 0.7724 GB, free: 24.76 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.7537, allocations: 1.094 kB / 0.7724 GB, free: 24.76 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.464e-06/0.7537, allocations: 4 kB / 0.7724 GB, free: 24.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.785e-05/0.7538, allocations: 0 / 0.7724 GB, free: 24.75 MB / 0.5762 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.005443/0.7592, allocations: 2.087 MB / 0.7745 GB, free: 23.69 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.7593, allocations: 13.39 kB / 0.7745 GB, free: 23.69 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.7604, allocations: 229.1 kB / 0.7747 GB, free: 23.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/0.7635, allocations: 1.516 MB / 0.7762 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.907e-05/0.7635, allocations: 76.28 kB / 0.7763 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.7637, allocations: 107.1 kB / 0.7764 GB, free: 23.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/0.7662, allocations: 1.104 MB / 0.7774 GB, free: 23.05 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.7663, allocations: 5.219 kB / 0.7774 GB, free: 23.04 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.7664, allocations: 37.81 kB / 0.7775 GB, free: 23.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-05/0.7664, allocations: 29.19 kB / 0.7775 GB, free: 23.04 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.7685, allocations: 0.8899 MB / 0.7784 GB, free: 23.03 MB / 0.5762 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.006939/0.7755, allocations: 4.905 MB / 0.7832 GB, free: 20.17 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.777, allocations: 0.6144 MB / 0.7838 GB, free: 19.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007218/0.7777, allocations: 354.4 kB / 0.7841 GB, free: 19.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004996/0.7783, allocations: 0.8254 MB / 0.7849 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.7783, allocations: 42.59 kB / 0.7849 GB, free: 18.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.765e-06/0.7783, allocations: 3.938 kB / 0.7849 GB, free: 18.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007763/0.7861, allocations: 1.689 MB / 0.7866 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.7862, allocations: 63.84 kB / 0.7867 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/0.7886, allocations: 1.226 MB / 0.7879 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002227/0.7888, allocations: 44.92 kB / 0.7879 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005551/0.7894, allocations: 0.6011 MB / 0.7885 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/0.7897, allocations: 219 kB / 0.7887 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003302/0.7901, allocations: 154.9 kB / 0.7888 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.57e-05/0.7902, allocations: 332.9 kB / 0.7892 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007129/0.7909, allocations: 291.1 kB / 0.7894 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008802/0.7918, allocations: 0.4933 MB / 0.7899 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.7932, allocations: 0.7039 MB / 0.7906 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.7933, allocations: 9.312 kB / 0.7906 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005023/0.7983, allocations: 1.267 MB / 0.7919 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.7983, allocations: 9.188 kB / 0.7919 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.7984, allocations: 3.281 kB / 0.7919 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006112/0.799, allocations: 143.8 kB / 0.792 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006335/0.7996, allocations: 154.1 kB / 0.7921 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007581/0.8004, allocations: 0.7114 MB / 0.7928 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.8019, allocations: 120.5 kB / 0.793 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.802, allocations: 30.7 kB / 0.793 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00131/0.8033, allocations: 0.5576 MB / 0.7935 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008059/0.8042, allocations: 0.4902 MB / 0.794 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001344/0.8055, allocations: 0.6982 MB / 0.7947 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.65e-06/0.8055, allocations: 2.438 kB / 0.7947 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004995/0.8105, allocations: 1.271 MB / 0.7959 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.8106, allocations: 7.969 kB / 0.7959 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.8106, allocations: 4.109 kB / 0.7959 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006551/0.8113, allocations: 139.2 kB / 0.7961 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/0.8119, allocations: 164.6 kB / 0.7962 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007282/0.8127, allocations: 0.7032 MB / 0.7969 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.8142, allocations: 100.6 kB / 0.797 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.8143, allocations: 33.92 kB / 0.7971 GB, free: 11.58 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003217/0.8146, allocations: 233.4 kB / 0.7973 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005776/0.8152, allocations: 135.8 kB / 0.7974 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004789/0.82, allocations: 1.25 MB / 0.7986 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/0.8201, allocations: 10.17 kB / 0.7986 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.8201, allocations: 6.5 kB / 0.7986 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004043/0.8241, allocations: 1.099 MB / 0.7997 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007608/0.8318, allocations: 2.618 MB / 0.8023 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.8318, allocations: 2.969 kB / 0.8023 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/0.8323, allocations: 115.3 kB / 0.8024 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004759/0.8328, allocations: 128.8 kB / 0.8025 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.435e-05/0.8328, allocations: 25.64 kB / 0.8025 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004748/0.8376, allocations: 2.628 MB / 0.8051 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.8376, allocations: 5.875 kB / 0.8051 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005651/0.8433, allocations: 1.694 MB / 0.8068 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.8443, allocations: 311 kB / 0.8071 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000535/0.8449, allocations: 15.94 kB / 0.8071 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.8462, allocations: 55.19 kB / 0.8071 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.8464, allocations: 63.83 kB / 0.8072 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.8465, allocations: 29.73 kB / 0.8072 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00176/0.8483, allocations: 0.8849 MB / 0.8081 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8483, allocations: 0 / 0.8081 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003115/0.8514, allocations: 0.7227 MB / 0.8088 GB, free: 3.754 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001179/0.8526, allocations: 464.5 kB / 0.8092 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002627/0.8552, allocations: 1.126 MB / 0.8103 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.8553, allocations: 0 / 0.8103 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.8567, allocations: 0.5759 MB / 0.8109 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004491/0.8612, allocations: 0.7881 MB / 0.8117 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004731/0.866, allocations: 2.307 MB / 0.8139 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009148/0.8669, allocations: 1.168 MB / 0.8151 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004492/0.8674, allocations: 111.4 kB / 0.8152 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of SimCode: time 1.453e-06/0.8674, allocations: 3.938 kB / 0.8152 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of Templates: time 0.0422/0.9096, allocations: 31.33 MB / 0.8458 GB, free: 14.04 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)