Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.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/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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.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.001635/0.001635, allocations: 107.7 kB / 15.99 MB, free: 6.359 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.001729/0.001729, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.371/1.371, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8232/0.8232, allocations: 135.1 MB / 425.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 59.91 kB / 0.5055 GB, free: 8.719 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3959, allocations: 80.92 MB / 0.5845 GB, free: 25.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06351/0.4594, allocations: 74.56 MB / 0.6573 GB, free: 36 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02023/0.4797, allocations: 15.03 MB / 0.672 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003041/0.4828, allocations: 63.62 kB / 0.6721 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003088/0.4859, allocations: 0.7151 MB / 0.6728 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008732/0.4947, allocations: 2.411 MB / 0.6751 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003681/0.4984, allocations: 1.28 MB / 0.6764 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006384/0.5048, allocations: 4.423 MB / 0.6807 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002136/0.5069, allocations: 1.437 MB / 0.6821 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003958/0.5109, allocations: 1.661 MB / 0.6837 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/0.5129, allocations: 1.26 MB / 0.6849 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002854/0.5132, allocations: 160 kB / 0.6851 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.5162, allocations: 1.435 MB / 0.6865 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000399/0.5166, allocations: 406.5 kB / 0.6869 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001315/0.518, allocations: 0.9021 MB / 0.6878 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003077/0.521, allocations: 2.261 MB / 0.69 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5211, allocations: 0 / 0.69 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.505e-06/0.5211, allocations: 0 / 0.69 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.574e-05/0.5211, allocations: 4 kB / 0.69 GB, free: 14.5 MB / 0.5294 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.003757/0.5249, allocations: 2.095 MB / 0.692 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.5249, allocations: 9.109 kB / 0.692 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007986/0.5257, allocations: 226.8 kB / 0.6922 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/0.5281, allocations: 1.508 MB / 0.6937 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.306e-05/0.5282, allocations: 81.98 kB / 0.6938 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.5283, allocations: 103.9 kB / 0.6939 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.5303, allocations: 1.092 MB / 0.695 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.5303, allocations: 8 kB / 0.695 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.662e-05/0.5305, allocations: 43.94 kB / 0.695 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.042e-05/0.5305, allocations: 27.98 kB / 0.695 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.5323, allocations: 0.8939 MB / 0.6959 GB, free: 8.266 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.006133/0.5384, allocations: 4.911 MB / 0.7007 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.5398, allocations: 0.6158 MB / 0.7013 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006592/0.5405, allocations: 350.3 kB / 0.7016 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006588/0.5412, allocations: 0.8316 MB / 0.7024 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.5412, allocations: 43.12 kB / 0.7025 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.805e-06/0.5412, allocations: 0 / 0.7025 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.004695/0.5459, allocations: 1.397 MB / 0.7039 GB, free: 15.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.546, allocations: 59.97 kB / 0.7039 GB, free: 15.53 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.5476, allocations: 1.222 MB / 0.7051 GB, free: 14.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.538e-05/0.5477, allocations: 37.7 kB / 0.7051 GB, free: 14.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005089/0.5482, allocations: 0.6066 MB / 0.7057 GB, free: 13.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.5484, allocations: 212.8 kB / 0.7059 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.5486, allocations: 158.5 kB / 0.7061 GB, free: 13.26 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5488, allocations: 337.9 kB / 0.7064 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006446/0.5494, allocations: 292.6 kB / 0.7067 GB, free: 12.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008074/0.5503, allocations: 0.489 MB / 0.7072 GB, free: 12.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.5516, allocations: 0.7082 MB / 0.7079 GB, free: 11.31 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.5516, allocations: 3.938 kB / 0.7079 GB, free: 11.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004445/0.5561, allocations: 1.265 MB / 0.7091 GB, free: 10.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.5561, allocations: 15.92 kB / 0.7091 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.5561, allocations: 0 / 0.7091 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006745/0.5568, allocations: 157 kB / 0.7093 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000588/0.5574, allocations: 155.8 kB / 0.7094 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008557/0.5583, allocations: 0.7239 MB / 0.7101 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.5595, allocations: 149.3 kB / 0.7103 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.202e-05/0.5596, allocations: 35.98 kB / 0.7103 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001082/0.5607, allocations: 0.5565 MB / 0.7108 GB, free: 8.219 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008012/0.5615, allocations: 491.9 kB / 0.7113 GB, free: 7.664 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001286/0.5628, allocations: 0.7001 MB / 0.712 GB, free: 6.922 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.469e-06/0.5628, allocations: 4 kB / 0.712 GB, free: 6.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004402/0.5672, allocations: 1.265 MB / 0.7132 GB, free: 5.641 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.5672, allocations: 8 kB / 0.7132 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.5672, allocations: 4 kB / 0.7132 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005893/0.5678, allocations: 157.1 kB / 0.7134 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/0.5684, allocations: 147.8 kB / 0.7135 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008169/0.5692, allocations: 0.726 MB / 0.7142 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.5705, allocations: 131.5 kB / 0.7144 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.942e-05/0.5706, allocations: 31.98 kB / 0.7144 GB, free: 4.418 MB / 0.545 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.0002814/0.5709, allocations: 228.6 kB / 0.7146 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003401/0.5712, allocations: 142.2 kB / 0.7147 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004549/0.5758, allocations: 1.245 MB / 0.716 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.541e-05/0.5758, allocations: 15.98 kB / 0.716 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.5758, allocations: 4 kB / 0.716 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003932/0.5798, allocations: 1.088 MB / 0.717 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005164/0.5849, allocations: 2.309 MB / 0.7193 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.585, allocations: 4 kB / 0.7193 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004973/0.5855, allocations: 111.8 kB / 0.7194 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006392/0.5861, allocations: 149.2 kB / 0.7196 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.769e-05/0.5862, allocations: 27.92 kB / 0.7196 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008693/0.5871, allocations: 0.7013 MB / 0.7203 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.5871, allocations: 7.984 kB / 0.7203 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/0.5902, allocations: 1.399 MB / 0.7216 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007564/0.5909, allocations: 307.1 kB / 0.7219 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003779/0.5913, allocations: 20 kB / 0.722 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.5925, allocations: 79.88 kB / 0.722 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.5926, allocations: 52.31 kB / 0.7221 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.07e-05/0.5927, allocations: 35.97 kB / 0.7221 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001598/0.5943, allocations: 0.8739 MB / 0.723 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5943, allocations: 0 / 0.723 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002459/0.5968, allocations: 0.7057 MB / 0.7237 GB, free: 10.64 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001217/0.598, allocations: 464.5 kB / 0.7241 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003149/0.6012, allocations: 1.156 MB / 0.7252 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.6012, allocations: 0 / 0.7252 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.6022, allocations: 395.6 kB / 0.7256 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004168/0.6064, allocations: 0.8158 MB / 0.7264 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005273/0.6117, allocations: 2.802 MB / 0.7291 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.6128, allocations: 1.172 MB / 0.7303 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/0.6133, allocations: 107.4 kB / 0.7304 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/0.6133, allocations: 0 / 0.7304 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of Templates: time 0.3483/0.9616, allocations: 30.98 MB / 0.7606 GB, free: 151.7 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)