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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 182.4 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-master/package.mo): time 0.6923/0.6923, allocations: 133.4 MB / 150.1 MB, free: 11.15 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.37/1.37, allocations: 222.9 MB / 404.7 MB, free: 6.094 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.0009631/0.0009629, allocations: 95.62 kB / 485.9 MB, free: 7.25 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 48.16 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1178, allocations: 80.42 MB / 0.6421 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.3163/0.4341, allocations: 74.74 MB / 0.7151 GB, free: 22.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01862/0.4528, allocations: 15.18 MB / 0.7299 GB, free: 16.14 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002963/0.4558, allocations: 65.28 kB / 0.73 GB, free: 16.11 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.4578, allocations: 0.6797 MB / 0.7307 GB, free: 15.71 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006305/0.4642, allocations: 2.388 MB / 0.733 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003175/0.4674, allocations: 1.265 MB / 0.7342 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.006123/0.4735, allocations: 5.574 MB / 0.7397 GB, free: 11.36 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001727/0.4752, allocations: 1.196 MB / 0.7409 GB, free: 10.7 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.4776, allocations: 1.389 MB / 0.7422 GB, free: 9.938 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/0.4796, allocations: 1.214 MB / 0.7434 GB, free: 9.215 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003207/0.4799, allocations: 73.22 kB / 0.7435 GB, free: 9.215 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/0.4829, allocations: 1.274 MB / 0.7447 GB, free: 8.512 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004034/0.4833, allocations: 316.1 kB / 0.745 GB, free: 8.277 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.4846, allocations: 0.813 MB / 0.7458 GB, free: 7.758 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003427/0.488, allocations: 2.798 MB / 0.7485 GB, free: 5.867 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.488, allocations: 0 / 0.7485 GB, free: 5.867 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.4881, allocations: 0 / 0.7485 GB, free: 5.867 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.528e-05/0.4881, allocations: 0 / 0.7485 GB, free: 5.867 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.003415/0.4915, allocations: 2.099 MB / 0.7506 GB, free: 4.273 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.4916, allocations: 8.312 kB / 0.7506 GB, free: 4.273 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007418/0.4923, allocations: 233.1 kB / 0.7508 GB, free: 4.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/0.4945, allocations: 1.492 MB / 0.7523 GB, free: 2.977 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.671e-05/0.4945, allocations: 74.78 kB / 0.7523 GB, free: 2.941 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.4947, allocations: 118.8 kB / 0.7525 GB, free: 2.895 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.4964, allocations: 1.099 MB / 0.7535 GB, free: 2.215 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.4964, allocations: 6.5 kB / 0.7535 GB, free: 2.211 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.899e-05/0.4965, allocations: 40.25 kB / 0.7536 GB, free: 2.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/0.4965, allocations: 25.44 kB / 0.7536 GB, free: 2.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.4983, allocations: 0.894 MB / 0.7545 GB, free: 1.727 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.005699/0.504, allocations: 4.909 MB / 0.7593 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.5055, allocations: 0.6279 MB / 0.7599 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007379/0.5062, allocations: 346.3 kB / 0.7602 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007019/0.5069, allocations: 0.8355 MB / 0.761 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.507, allocations: 39.12 kB / 0.7611 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=62): time 3.036e-06/0.507, allocations: 0 / 0.7611 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=62): time 0.005142/0.5121, allocations: 1.401 MB / 0.7624 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.5122, allocations: 59.97 kB / 0.7625 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.5138, allocations: 1.214 MB / 0.7637 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.08e-05/0.5139, allocations: 45.7 kB / 0.7637 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005065/0.5144, allocations: 0.6027 MB / 0.7643 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.5146, allocations: 216.8 kB / 0.7645 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.5148, allocations: 154.5 kB / 0.7647 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.515, allocations: 345.9 kB / 0.765 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006729/0.5157, allocations: 288.7 kB / 0.7653 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008447/0.5165, allocations: 0.4893 MB / 0.7657 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.5179, allocations: 0.7004 MB / 0.7664 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.518, allocations: 4 kB / 0.7664 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004863/0.5228, allocations: 1.265 MB / 0.7677 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.5229, allocations: 8 kB / 0.7677 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.5229, allocations: 8 kB / 0.7677 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007129/0.5236, allocations: 165 kB / 0.7678 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000617/0.5242, allocations: 155.8 kB / 0.768 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008405/0.5251, allocations: 0.7084 MB / 0.7687 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.5263, allocations: 159 kB / 0.7688 GB, free: 3.016 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.931e-05/0.5263, allocations: 31.98 kB / 0.7689 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001085/0.5274, allocations: 0.5495 MB / 0.7694 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008368/0.5283, allocations: 499.8 kB / 0.7699 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001393/0.5297, allocations: 0.7004 MB / 0.7706 GB, free: 1.121 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.5297, allocations: 3.938 kB / 0.7706 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004824/0.5345, allocations: 1.269 MB / 0.7718 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.5345, allocations: 4 kB / 0.7718 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.5346, allocations: 4 kB / 0.7718 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006199/0.5352, allocations: 149.1 kB / 0.772 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/0.5358, allocations: 163.7 kB / 0.7721 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000826/0.5366, allocations: 0.7175 MB / 0.7728 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.5379, allocations: 133.4 kB / 0.7729 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.018e-05/0.538, allocations: 35.98 kB / 0.773 GB, free: 14.61 MB / 0.5105 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.0002347/0.5382, allocations: 232 kB / 0.7732 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.5385, allocations: 134.3 kB / 0.7733 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004844/0.5433, allocations: 1.252 MB / 0.7745 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.5433, allocations: 8 kB / 0.7745 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.5434, allocations: 0 / 0.7745 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004263/0.5476, allocations: 1.096 MB / 0.7756 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004241/0.5519, allocations: 2.306 MB / 0.7779 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.5519, allocations: 4 kB / 0.7779 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004717/0.5524, allocations: 107.9 kB / 0.778 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005741/0.553, allocations: 156.9 kB / 0.7781 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.553, allocations: 20 kB / 0.7781 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008128/0.5538, allocations: 0.7045 MB / 0.7788 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.5539, allocations: 7.938 kB / 0.7788 GB, free: 8.398 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03773/0.5916, allocations: 11.69 MB / 0.7903 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006797/0.5923, allocations: 311.1 kB / 0.7906 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/0.5925, allocations: 16 kB / 0.7906 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008986/0.5935, allocations: 87.88 kB / 0.7907 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.5936, allocations: 52.25 kB / 0.7907 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.398e-05/0.5937, allocations: 31.98 kB / 0.7907 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001215/0.5949, allocations: 0.8779 MB / 0.7916 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5949, allocations: 0 / 0.7916 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003027/0.5979, allocations: 1.1 MB / 0.7927 GB, free: 9.82 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000867/0.5988, allocations: 464.5 kB / 0.7931 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002607/0.6014, allocations: 1.11 MB / 0.7942 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6015, allocations: 3.938 kB / 0.7942 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00093/0.6024, allocations: 399.2 kB / 0.7946 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003533/0.6059, allocations: 0.7548 MB / 0.7953 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004498/0.6105, allocations: 3.37 MB / 0.7986 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007636/0.6112, allocations: 1.198 MB / 0.7998 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001263/0.6125, allocations: 319 kB / 0.8001 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.6128, allocations: 111.4 kB / 0.8002 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of SimCode: time 1.894e-06/0.6128, allocations: 0 / 0.8002 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of Templates: time 0.0517/0.6645, allocations: 33.83 MB / 0.8332 GB, free: 480 kB / 0.5573 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)