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.001368/0.001372, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001629/0.001629, allocations: 195.2 kB / 16.25 MB, free: 6.621 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.363/1.363, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9904/0.9904, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 65.31 kB / 0.5048 GB, free: 5.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1825, allocations: 80.93 MB / 0.5839 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.348/0.5305, allocations: 74.55 MB / 0.6567 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01759/0.5481, allocations: 15.03 MB / 0.6714 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002541/0.5507, allocations: 63.91 kB / 0.6714 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002574/0.5533, allocations: 0.7128 MB / 0.6721 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008439/0.5618, allocations: 2.409 MB / 0.6745 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00388/0.5657, allocations: 1.278 MB / 0.6757 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008088/0.5738, allocations: 4.43 MB / 0.68 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002661/0.5765, allocations: 1.438 MB / 0.6814 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004612/0.5811, allocations: 1.641 MB / 0.6831 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002601/0.5838, allocations: 1.262 MB / 0.6843 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003535/0.5841, allocations: 161.3 kB / 0.6844 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003506/0.5876, allocations: 1.42 MB / 0.6858 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004816/0.5881, allocations: 401.2 kB / 0.6862 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.5895, allocations: 0.901 MB / 0.6871 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004999/0.5945, allocations: 2.855 MB / 0.6899 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.522e-05/0.5945, allocations: 4 kB / 0.6899 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.355e-06/0.5945, allocations: 3.094 kB / 0.6899 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.199e-05/0.5946, allocations: 0 / 0.6899 GB, free: 3.32 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.004505/0.5991, allocations: 2.077 MB / 0.6919 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.5992, allocations: 9.688 kB / 0.6919 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009159/0.6001, allocations: 235.5 kB / 0.6921 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.6029, allocations: 1.492 MB / 0.6936 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.832e-05/0.6029, allocations: 77.12 kB / 0.6937 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.6031, allocations: 100.5 kB / 0.6938 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002544/0.6057, allocations: 1.107 MB / 0.6949 GB, free: 384 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.6057, allocations: 0 / 0.6949 GB, free: 384 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.6058, allocations: 41.31 kB / 0.6949 GB, free: 352 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.313e-05/0.6059, allocations: 25.86 kB / 0.6949 GB, free: 352 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/0.6082, allocations: 0.8906 MB / 0.6958 GB, free: 36 kB / 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.008212/0.6164, allocations: 4.892 MB / 0.7006 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.6181, allocations: 0.6198 MB / 0.7012 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007187/0.6188, allocations: 344 kB / 0.7015 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007046/0.6195, allocations: 0.8319 MB / 0.7023 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.6196, allocations: 42.5 kB / 0.7023 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.766e-06/0.6196, allocations: 1.312 kB / 0.7023 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007694/0.6273, allocations: 1.694 MB / 0.704 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.6273, allocations: 58.62 kB / 0.7041 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.6295, allocations: 1.217 MB / 0.7052 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001619/0.6297, allocations: 39.52 kB / 0.7053 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005977/0.6303, allocations: 0.6137 MB / 0.7059 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/0.6306, allocations: 213.7 kB / 0.7061 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.6308, allocations: 157.4 kB / 0.7062 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.631, allocations: 337.7 kB / 0.7066 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007319/0.6317, allocations: 293.6 kB / 0.7068 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008643/0.6326, allocations: 495.5 kB / 0.7073 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.6341, allocations: 0.7088 MB / 0.708 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.6341, allocations: 1.188 kB / 0.708 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004858/0.6389, allocations: 1.271 MB / 0.7092 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.639, allocations: 5.875 kB / 0.7093 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.639, allocations: 7.844 kB / 0.7093 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005923/0.6396, allocations: 140.4 kB / 0.7094 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006083/0.6402, allocations: 156.6 kB / 0.7095 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009516/0.6412, allocations: 0.7068 MB / 0.7102 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.6426, allocations: 151.5 kB / 0.7104 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-05/0.6427, allocations: 35.02 kB / 0.7104 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001237/0.6439, allocations: 0.5551 MB / 0.711 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000827/0.6448, allocations: 496.6 kB / 0.7114 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001352/0.6461, allocations: 0.7016 MB / 0.7121 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.659e-06/0.6461, allocations: 4.656 kB / 0.7121 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004704/0.6508, allocations: 1.269 MB / 0.7134 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.6509, allocations: 5.5 kB / 0.7134 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.6509, allocations: 4.125 kB / 0.7134 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005125/0.6514, allocations: 154.9 kB / 0.7135 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006076/0.652, allocations: 152.2 kB / 0.7137 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007755/0.6528, allocations: 0.7002 MB / 0.7143 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.6541, allocations: 141 kB / 0.7145 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.32e-05/0.6542, allocations: 26.56 kB / 0.7145 GB, free: 4.445 MB / 0.5294 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.0002982/0.6545, allocations: 233.7 kB / 0.7147 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.6547, allocations: 135.4 kB / 0.7149 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004553/0.6593, allocations: 1.27 MB / 0.7161 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.6593, allocations: 6.844 kB / 0.7161 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.6593, allocations: 0 / 0.7161 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004139/0.6635, allocations: 1.103 MB / 0.7172 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007327/0.6708, allocations: 2.605 MB / 0.7197 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.6709, allocations: 2.406 kB / 0.7197 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000481/0.6713, allocations: 115.9 kB / 0.7198 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004954/0.6719, allocations: 129.3 kB / 0.72 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.157e-05/0.6719, allocations: 20.48 kB / 0.72 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005035/0.677, allocations: 2.629 MB / 0.7225 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.677, allocations: 7.938 kB / 0.7226 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005424/0.6824, allocations: 1.707 MB / 0.7242 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.6836, allocations: 303.3 kB / 0.7245 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/0.6839, allocations: 15.94 kB / 0.7245 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009717/0.6849, allocations: 83.88 kB / 0.7246 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.685, allocations: 64.25 kB / 0.7247 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.301e-05/0.6851, allocations: 31.97 kB / 0.7247 GB, free: 11.88 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001256/0.6864, allocations: 0.8662 MB / 0.7255 GB, free: 11.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6864, allocations: 0 / 0.7255 GB, free: 11.01 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002416/0.6888, allocations: 0.7174 MB / 0.7262 GB, free: 10.29 MB / 0.545 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.001026/0.6899, allocations: 452 kB / 0.7267 GB, free: 9.852 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00285/0.6927, allocations: 1.155 MB / 0.7278 GB, free: 8.699 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.6927, allocations: 1.062 kB / 0.7278 GB, free: 8.699 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.6942, allocations: 0.5641 MB / 0.7284 GB, free: 8.125 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00345/0.6976, allocations: 0.8031 MB / 0.7291 GB, free: 7.355 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.7015, allocations: 2.769 MB / 0.7318 GB, free: 4.512 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007161/0.7022, allocations: 1.186 MB / 0.733 GB, free: 3.297 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001131/0.7033, allocations: 306.9 kB / 0.7333 GB, free: 2.992 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.7036, allocations: 103.4 kB / 0.7334 GB, free: 2.891 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.7036, allocations: 0 / 0.7334 GB, free: 2.891 MB / 0.545 GB Notification: Performance of Templates: time 0.05223/0.7558, allocations: 31.6 MB / 0.7642 GB, free: 3.645 MB / 0.5762 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)