Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001465/0.001465, allocations: 104.8 kB / 16.27 MB, free: 5.98 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.001533/0.001533, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.382/1.382, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.861/0.861, allocations: 132.2 MB / 423.2 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.91 kB / 0.5024 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4635, allocations: 80.19 MB / 0.5807 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06806/0.5316, allocations: 75.19 MB / 0.6542 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02172/0.5534, allocations: 15.14 MB / 0.669 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003379/0.5568, allocations: 67.62 kB / 0.669 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002926/0.5598, allocations: 0.8267 MB / 0.6698 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008274/0.5681, allocations: 2.584 MB / 0.6724 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004114/0.5722, allocations: 1.375 MB / 0.6737 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006494/0.5788, allocations: 4.392 MB / 0.678 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002427/0.5812, allocations: 1.456 MB / 0.6794 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004103/0.5854, allocations: 1.628 MB / 0.681 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002318/0.5877, allocations: 1.21 MB / 0.6822 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005514/0.5883, allocations: 160 kB / 0.6823 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003754/0.592, allocations: 1.408 MB / 0.6837 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006674/0.5927, allocations: 394.6 kB / 0.6841 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001815/0.5945, allocations: 0.9061 MB / 0.685 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005355/0.5999, allocations: 2.84 MB / 0.6877 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.6, allocations: 0 / 0.6877 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.903e-06/0.6, allocations: 0 / 0.6877 GB, free: 408 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.629e-05/0.6001, allocations: 4 kB / 0.6877 GB, free: 404 kB / 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.005034/0.6051, allocations: 2.079 MB / 0.6898 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.6052, allocations: 8.031 kB / 0.6898 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.6063, allocations: 234.8 kB / 0.69 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002975/0.6093, allocations: 1.452 MB / 0.6914 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/0.6094, allocations: 77.98 kB / 0.6915 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/0.6096, allocations: 104 kB / 0.6916 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.6121, allocations: 1.108 MB / 0.6927 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.6121, allocations: 0 / 0.6927 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.6122, allocations: 40 kB / 0.6927 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.819e-05/0.6123, allocations: 24 kB / 0.6927 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.6144, allocations: 0.89 MB / 0.6936 GB, free: 10.23 MB / 0.5294 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.00711/0.6215, allocations: 4.942 MB / 0.6984 GB, free: 5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.623, allocations: 0.6224 MB / 0.699 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007318/0.6238, allocations: 343.3 kB / 0.6994 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006872/0.6245, allocations: 0.8277 MB / 0.7002 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.6246, allocations: 47.11 kB / 0.7002 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.534e-06/0.6246, allocations: 0 / 0.7002 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007679/0.6322, allocations: 1.689 MB / 0.7019 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.6323, allocations: 59.97 kB / 0.7019 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/0.6344, allocations: 1.234 MB / 0.7031 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001246/0.6345, allocations: 37.7 kB / 0.7032 GB, free: 15.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005595/0.6351, allocations: 0.622 MB / 0.7038 GB, free: 15.26 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.6354, allocations: 212.9 kB / 0.704 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002726/0.6357, allocations: 154.6 kB / 0.7041 GB, free: 14.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6358, allocations: 333.9 kB / 0.7044 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007396/0.6365, allocations: 292.7 kB / 0.7047 GB, free: 14.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000892/0.6374, allocations: 0.489 MB / 0.7052 GB, free: 13.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.6389, allocations: 0.709 MB / 0.7059 GB, free: 12.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.639, allocations: 0 / 0.7059 GB, free: 12.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005078/0.644, allocations: 1.269 MB / 0.7071 GB, free: 11.67 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.6441, allocations: 11.98 kB / 0.7071 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.6441, allocations: 4 kB / 0.7071 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006705/0.6448, allocations: 137.1 kB / 0.7073 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/0.6455, allocations: 163.8 kB / 0.7074 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000892/0.6464, allocations: 0.6966 MB / 0.7081 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.6477, allocations: 125.2 kB / 0.7082 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.485e-05/0.6478, allocations: 35.98 kB / 0.7083 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001213/0.649, allocations: 0.5565 MB / 0.7088 GB, free: 9.914 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008715/0.6499, allocations: 0.4889 MB / 0.7093 GB, free: 9.348 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001473/0.6514, allocations: 0.705 MB / 0.71 GB, free: 8.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.657e-06/0.6514, allocations: 0 / 0.71 GB, free: 8.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005107/0.6565, allocations: 1.269 MB / 0.7112 GB, free: 7.309 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.6565, allocations: 8 kB / 0.7112 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6566, allocations: 7.938 kB / 0.7112 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005325/0.6571, allocations: 143.9 kB / 0.7114 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.6577, allocations: 159.7 kB / 0.7115 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008548/0.6586, allocations: 0.6929 MB / 0.7122 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.6599, allocations: 107.5 kB / 0.7123 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.845e-05/0.66, allocations: 27.98 kB / 0.7123 GB, free: 6.145 MB / 0.545 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.0002967/0.6603, allocations: 236.6 kB / 0.7126 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004201/0.6607, allocations: 134.4 kB / 0.7127 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004989/0.6657, allocations: 1.271 MB / 0.7139 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.6658, allocations: 4 kB / 0.7139 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.6658, allocations: 4 kB / 0.7139 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004335/0.6701, allocations: 1.103 MB / 0.715 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007414/0.6776, allocations: 2.621 MB / 0.7176 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.6776, allocations: 4 kB / 0.7176 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004926/0.6781, allocations: 111.8 kB / 0.7177 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000514/0.6786, allocations: 133.2 kB / 0.7178 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/0.6787, allocations: 19.98 kB / 0.7178 GB, free: 352 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005579/0.6843, allocations: 2.619 MB / 0.7204 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.6843, allocations: 4 kB / 0.7204 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006171/0.6905, allocations: 1.703 MB / 0.7221 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/0.6918, allocations: 307.2 kB / 0.7223 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005926/0.6924, allocations: 16 kB / 0.7224 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.6937, allocations: 60.03 kB / 0.7224 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.694, allocations: 60.3 kB / 0.7225 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.6941, allocations: 31.98 kB / 0.7225 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002183/0.6963, allocations: 0.8857 MB / 0.7234 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6963, allocations: 0 / 0.7234 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003553/0.6999, allocations: 0.7174 MB / 0.7241 GB, free: 9.711 MB / 0.5606 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.001508/0.7014, allocations: 466.5 kB / 0.7245 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003713/0.7051, allocations: 1.156 MB / 0.7256 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.7052, allocations: 0 / 0.7256 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001762/0.707, allocations: 0.5642 MB / 0.7262 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005276/0.7123, allocations: 0.8018 MB / 0.727 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005888/0.7182, allocations: 2.344 MB / 0.7293 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.7195, allocations: 1.164 MB / 0.7304 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005526/0.7201, allocations: 111.4 kB / 0.7305 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of SimCode: time 1.272e-06/0.7201, allocations: 0 / 0.7305 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of Templates: time 0.3611/1.081, allocations: 31.22 MB / 0.761 GB, free: 153.3 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)