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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7335/0.7335, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 403.3 MB, free: 7.066 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 120.4 kB / 484.3 MB, free: 8.688 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009704/0.0009704, allocations: 55.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1305, allocations: 80.2 MB / 0.6402 GB, free: 6.777 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.3326/0.4632, allocations: 74.73 MB / 0.7132 GB, free: 22.79 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01836/0.4815, allocations: 15.19 MB / 0.728 GB, free: 17.71 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003061/0.4846, allocations: 60.16 kB / 0.728 GB, free: 17.69 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.4867, allocations: 0.6766 MB / 0.7287 GB, free: 17.29 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006895/0.4937, allocations: 2.378 MB / 0.731 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003334/0.497, allocations: 1.267 MB / 0.7323 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.007421/0.5045, allocations: 5.578 MB / 0.7377 GB, free: 12.94 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00271/0.5072, allocations: 1.197 MB / 0.7389 GB, free: 12.41 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003393/0.5106, allocations: 1.384 MB / 0.7402 GB, free: 11.67 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002826/0.5135, allocations: 1.207 MB / 0.7414 GB, free: 10.95 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005003/0.514, allocations: 73 kB / 0.7415 GB, free: 10.95 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00413/0.5181, allocations: 1.255 MB / 0.7427 GB, free: 10.26 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000602/0.5188, allocations: 311.5 kB / 0.743 GB, free: 10.03 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001964/0.5208, allocations: 0.8082 MB / 0.7438 GB, free: 9.512 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004884/0.5257, allocations: 2.782 MB / 0.7465 GB, free: 7.633 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5257, allocations: 0 / 0.7465 GB, free: 7.633 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5257, allocations: 0 / 0.7465 GB, free: 7.633 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.087e-05/0.5258, allocations: 0 / 0.7465 GB, free: 7.633 MB / 490.7 MB 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.004416/0.5302, allocations: 2.087 MB / 0.7485 GB, free: 6.043 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.5303, allocations: 8.875 kB / 0.7486 GB, free: 6.043 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009386/0.5312, allocations: 226.9 kB / 0.7488 GB, free: 5.938 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002878/0.5341, allocations: 1.495 MB / 0.7502 GB, free: 4.746 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.551e-05/0.5342, allocations: 74.22 kB / 0.7503 GB, free: 4.711 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.5343, allocations: 105.9 kB / 0.7504 GB, free: 4.676 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.5363, allocations: 1.104 MB / 0.7515 GB, free: 3.992 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.5363, allocations: 0 / 0.7515 GB, free: 3.992 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.157e-05/0.5364, allocations: 39.09 kB / 0.7515 GB, free: 3.965 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/0.5364, allocations: 32.22 kB / 0.7515 GB, free: 3.957 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.5382, allocations: 0.894 MB / 0.7524 GB, free: 3.504 MB / 490.7 MB 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.005773/0.544, allocations: 4.9 MB / 0.7572 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.5454, allocations: 0.6171 MB / 0.7578 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006819/0.5461, allocations: 353.9 kB / 0.7581 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005842/0.5467, allocations: 0.8277 MB / 0.759 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.5468, allocations: 39.12 kB / 0.759 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=61): time 2.485e-06/0.5468, allocations: 4 kB / 0.759 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=61): time 0.007282/0.5541, allocations: 1.693 MB / 0.7606 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.5542, allocations: 59.97 kB / 0.7607 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.5563, allocations: 1.21 MB / 0.7619 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001584/0.5565, allocations: 45.64 kB / 0.7619 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005955/0.5571, allocations: 0.6026 MB / 0.7625 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/0.5574, allocations: 212.9 kB / 0.7627 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/0.5577, allocations: 158.5 kB / 0.7629 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5578, allocations: 337.9 kB / 0.7632 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007486/0.5586, allocations: 288.7 kB / 0.7635 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.5597, allocations: 0.4929 MB / 0.764 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.5615, allocations: 0.709 MB / 0.7646 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/0.5615, allocations: 0 / 0.7646 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005166/0.5667, allocations: 1.277 MB / 0.7659 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.5667, allocations: 9.562 kB / 0.7659 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.5668, allocations: 4 kB / 0.7659 GB, free: 5.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006128/0.5674, allocations: 132.9 kB / 0.766 GB, free: 5.848 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006065/0.568, allocations: 151.8 kB / 0.7662 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008967/0.5689, allocations: 0.7161 MB / 0.7669 GB, free: 4.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.5705, allocations: 159.1 kB / 0.767 GB, free: 4.801 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.375e-05/0.5706, allocations: 31.98 kB / 0.7671 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001346/0.5719, allocations: 0.5488 MB / 0.7676 GB, free: 4.215 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008665/0.5728, allocations: 0.4943 MB / 0.7681 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001446/0.5743, allocations: 0.7051 MB / 0.7688 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.557e-06/0.5743, allocations: 0 / 0.7688 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004862/0.5792, allocations: 1.267 MB / 0.77 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.5792, allocations: 12 kB / 0.77 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.5792, allocations: 4 kB / 0.77 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005004/0.5797, allocations: 140.6 kB / 0.7702 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/0.5803, allocations: 155.8 kB / 0.7703 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008109/0.5811, allocations: 0.7006 MB / 0.771 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.5825, allocations: 135.5 kB / 0.7711 GB, free: 448 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-05/0.5826, allocations: 39.92 kB / 0.7712 GB, free: 408 kB / 0.4948 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.0002996/0.5829, allocations: 228.7 kB / 0.7714 GB, free: 172 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003991/0.5833, allocations: 138.3 kB / 0.7715 GB, free: 32 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004701/0.588, allocations: 1.264 MB / 0.7727 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.588, allocations: 4 kB / 0.7727 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.588, allocations: 0 / 0.7727 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00407/0.5921, allocations: 1.107 MB / 0.7738 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007587/0.5997, allocations: 2.602 MB / 0.7764 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.5998, allocations: 4.438 kB / 0.7764 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/0.6003, allocations: 111.9 kB / 0.7765 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005129/0.6008, allocations: 132.9 kB / 0.7766 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.791e-05/0.6009, allocations: 24 kB / 0.7766 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004852/0.6057, allocations: 2.392 MB / 0.779 GB, free: 8.086 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.6058, allocations: 4 kB / 0.779 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03467/0.6405, allocations: 10.73 MB / 0.7894 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008013/0.6413, allocations: 307.1 kB / 0.7897 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003338/0.6417, allocations: 16 kB / 0.7897 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.6427, allocations: 83.97 kB / 0.7898 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.6429, allocations: 64.61 kB / 0.7899 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.249e-05/0.643, allocations: 31.98 kB / 0.7899 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001442/0.6445, allocations: 0.8662 MB / 0.7908 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6445, allocations: 0 / 0.7908 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003606/0.6481, allocations: 1.1 MB / 0.7918 GB, free: 10.5 MB / 0.5261 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.001017/0.6492, allocations: 440.6 kB / 0.7923 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002758/0.6519, allocations: 1.113 MB / 0.7933 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.652, allocations: 0 / 0.7933 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.6535, allocations: 0.5684 MB / 0.7939 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0038/0.6573, allocations: 0.7536 MB / 0.7946 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006354/0.6637, allocations: 3.506 MB / 0.7981 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008795/0.6646, allocations: 1.191 MB / 0.7992 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001355/0.6659, allocations: 318.9 kB / 0.7995 GB, free: 2.504 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003125/0.6663, allocations: 111.4 kB / 0.7996 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of SimCode: time 7.51e-07/0.6663, allocations: 0 / 0.7996 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of Templates: time 0.05171/0.718, allocations: 33.46 MB / 0.8323 GB, free: 1.215 MB / 0.5573 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)