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.005307/0.005307, allocations: 96.94 kB / 15.73 MB, free: 6.059 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.001218/0.001218, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9571/0.9571, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 67.91 kB / 0.5857 GB, free: 3.336 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3763, allocations: 80.92 MB / 0.6647 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07119/0.4475, allocations: 75.2 MB / 0.7381 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02254/0.4701, allocations: 15.14 MB / 0.7529 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002807/0.473, allocations: 67.62 kB / 0.753 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002766/0.4758, allocations: 0.8228 MB / 0.7538 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00727/0.4831, allocations: 2.591 MB / 0.7563 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003606/0.4867, allocations: 1.386 MB / 0.7577 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006506/0.4932, allocations: 4.4 MB / 0.762 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0027/0.496, allocations: 1.453 MB / 0.7634 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004403/0.5004, allocations: 1.641 MB / 0.765 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00262/0.503, allocations: 1.22 MB / 0.7662 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005072/0.5035, allocations: 164 kB / 0.7663 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004097/0.5077, allocations: 1.423 MB / 0.7677 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007228/0.5084, allocations: 398.6 kB / 0.7681 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002069/0.5105, allocations: 0.906 MB / 0.769 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007189/0.5177, allocations: 2.91 MB / 0.7718 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5177, allocations: 0 / 0.7718 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5177, allocations: 4 kB / 0.7718 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.219e-05/0.5178, allocations: 0 / 0.7718 GB, free: 3.738 MB / 0.5919 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.005866/0.5237, allocations: 2.143 MB / 0.7739 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.571e-05/0.5238, allocations: 12.03 kB / 0.7739 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.525, allocations: 239.7 kB / 0.7742 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003179/0.5282, allocations: 1.552 MB / 0.7757 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.924e-05/0.5283, allocations: 74 kB / 0.7757 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/0.5285, allocations: 104 kB / 0.7758 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/0.5308, allocations: 1.104 MB / 0.7769 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/0.5308, allocations: 7.938 kB / 0.7769 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.5309, allocations: 39.98 kB / 0.777 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.562e-05/0.531, allocations: 28 kB / 0.777 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.533, allocations: 0.8939 MB / 0.7779 GB, free: 13.39 MB / 0.6075 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.005928/0.5389, allocations: 4.932 MB / 0.7827 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.5403, allocations: 0.6088 MB / 0.7833 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007112/0.541, allocations: 359.6 kB / 0.7836 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007185/0.5418, allocations: 0.8277 MB / 0.7844 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.5418, allocations: 39.12 kB / 0.7845 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 2.234e-06/0.5418, allocations: 0 / 0.7845 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=62): time 0.004854/0.5467, allocations: 1.409 MB / 0.7858 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.5467, allocations: 63.95 kB / 0.7859 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.5485, allocations: 1.23 MB / 0.7871 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.057e-05/0.5486, allocations: 41.7 kB / 0.7871 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005243/0.5491, allocations: 0.6152 MB / 0.7877 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.5493, allocations: 230 kB / 0.788 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.5496, allocations: 154.6 kB / 0.7881 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5497, allocations: 337.9 kB / 0.7884 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006833/0.5504, allocations: 292.7 kB / 0.7887 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008852/0.5513, allocations: 0.4918 MB / 0.7892 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.5528, allocations: 0.7043 MB / 0.7899 GB, free: 420 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.5528, allocations: 0 / 0.7899 GB, free: 420 kB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004639/0.5574, allocations: 1.274 MB / 0.7911 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.5575, allocations: 8 kB / 0.7911 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.5575, allocations: 4 kB / 0.7911 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007001/0.5582, allocations: 156.8 kB / 0.7913 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/0.5588, allocations: 151.8 kB / 0.7914 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009048/0.5598, allocations: 0.7201 MB / 0.7921 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.5608, allocations: 119.4 kB / 0.7922 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.449e-05/0.5609, allocations: 35.98 kB / 0.7923 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001125/0.5621, allocations: 0.5488 MB / 0.7928 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000793/0.5629, allocations: 495.8 kB / 0.7933 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001361/0.5642, allocations: 0.7004 MB / 0.794 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/0.5642, allocations: 4 kB / 0.794 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004479/0.5687, allocations: 1.27 MB / 0.7952 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.5688, allocations: 8.375 kB / 0.7952 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.5688, allocations: 8 kB / 0.7952 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005803/0.5694, allocations: 152.7 kB / 0.7954 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/0.5699, allocations: 155.7 kB / 0.7955 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008593/0.5708, allocations: 0.7163 MB / 0.7962 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.572, allocations: 103.6 kB / 0.7963 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.429e-05/0.5721, allocations: 35.98 kB / 0.7964 GB, free: 9.57 MB / 0.6231 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.0003494/0.5724, allocations: 228 kB / 0.7966 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003646/0.5728, allocations: 143 kB / 0.7967 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004576/0.5774, allocations: 1.252 MB / 0.7979 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.5774, allocations: 4 kB / 0.7979 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.5774, allocations: 8 kB / 0.7979 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003937/0.5814, allocations: 1.084 MB / 0.799 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004348/0.5857, allocations: 2.325 MB / 0.8013 GB, free: 4.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.5858, allocations: 0 / 0.8013 GB, free: 4.363 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004715/0.5863, allocations: 111.9 kB / 0.8014 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006133/0.5869, allocations: 161 kB / 0.8015 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.041e-05/0.5869, allocations: 23.94 kB / 0.8016 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008321/0.5878, allocations: 0.7007 MB / 0.8022 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/0.5878, allocations: 12 kB / 0.8023 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/0.5908, allocations: 1.396 MB / 0.8036 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006726/0.5914, allocations: 323.9 kB / 0.8039 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/0.5917, allocations: 12 kB / 0.8039 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009205/0.5927, allocations: 56 kB / 0.804 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.5928, allocations: 60.23 kB / 0.804 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.508e-05/0.5929, allocations: 35.97 kB / 0.8041 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00145/0.5943, allocations: 0.8818 MB / 0.8049 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4e-07/0.5943, allocations: 0 / 0.8049 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001982/0.5963, allocations: 0.7213 MB / 0.8056 GB, free: 15.77 MB / 0.6387 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.001059/0.5974, allocations: 464.6 kB / 0.8061 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002791/0.6002, allocations: 1.121 MB / 0.8072 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6002, allocations: 8.125 kB / 0.8072 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009389/0.6012, allocations: 391.1 kB / 0.8076 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003539/0.6047, allocations: 0.8116 MB / 0.8084 GB, free: 13 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/0.6088, allocations: 2.319 MB / 0.8106 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008756/0.6097, allocations: 1.172 MB / 0.8118 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00114/0.6108, allocations: 311 kB / 0.8121 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.6111, allocations: 103.4 kB / 0.8122 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.6111, allocations: 0 / 0.8122 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of Templates: time 0.05478/0.6659, allocations: 32.25 MB / 0.8437 GB, free: 9.074 MB / 0.67 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)