Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001161/0.001161, allocations: 182.7 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.7232/0.7232, allocations: 133.3 MB / 150.1 MB, free: 11.14 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.336/1.336, allocations: 222.9 MB / 404.7 MB, free: 6.008 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.0009936/0.0009936, allocations: 107.6 kB / 485.9 MB, free: 7.137 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000983/0.0009831, allocations: 59.92 kB / 0.5636 GB, free: 69.89 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1142, allocations: 80.42 MB / 0.6421 GB, free: 5.406 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.3166/0.4308, allocations: 74.73 MB / 0.7151 GB, free: 22.71 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01789/0.4488, allocations: 15.21 MB / 0.73 GB, free: 16.07 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002925/0.4517, allocations: 59.91 kB / 0.73 GB, free: 16.05 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002018/0.4538, allocations: 0.6751 MB / 0.7307 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005968/0.4598, allocations: 2.382 MB / 0.733 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.4628, allocations: 1.258 MB / 0.7342 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005787/0.4686, allocations: 5.586 MB / 0.7397 GB, free: 11.31 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.4705, allocations: 1.198 MB / 0.7409 GB, free: 10.66 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003081/0.4736, allocations: 1.385 MB / 0.7422 GB, free: 9.895 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002018/0.4756, allocations: 1.2 MB / 0.7434 GB, free: 9.184 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002472/0.4759, allocations: 73.75 kB / 0.7435 GB, free: 9.184 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002863/0.4787, allocations: 1.255 MB / 0.7447 GB, free: 8.492 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002622/0.479, allocations: 318.8 kB / 0.745 GB, free: 8.254 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007914/0.4798, allocations: 0.8088 MB / 0.7458 GB, free: 7.738 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002602/0.4824, allocations: 2.781 MB / 0.7485 GB, free: 5.859 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4824, allocations: 0 / 0.7485 GB, free: 5.859 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4824, allocations: 0 / 0.7485 GB, free: 5.859 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.4825, allocations: 3.938 kB / 0.7485 GB, free: 5.855 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.003058/0.4855, allocations: 2.077 MB / 0.7505 GB, free: 4.273 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.4856, allocations: 17.62 kB / 0.7505 GB, free: 4.266 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007316/0.4863, allocations: 226.6 kB / 0.7508 GB, free: 4.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.4883, allocations: 1.488 MB / 0.7522 GB, free: 2.973 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.698e-05/0.4884, allocations: 77.31 kB / 0.7523 GB, free: 2.938 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.4885, allocations: 100.8 kB / 0.7524 GB, free: 2.906 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.4902, allocations: 1.104 MB / 0.7535 GB, free: 2.223 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.4902, allocations: 6.094 kB / 0.7535 GB, free: 2.219 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/0.4903, allocations: 35.38 kB / 0.7535 GB, free: 2.191 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.4904, allocations: 25.12 kB / 0.7535 GB, free: 2.191 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.4921, allocations: 0.8973 MB / 0.7544 GB, free: 1.734 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.005481/0.4976, allocations: 4.905 MB / 0.7592 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.499, allocations: 0.6119 MB / 0.7598 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006907/0.4997, allocations: 350.3 kB / 0.7601 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005548/0.5002, allocations: 0.8238 MB / 0.7609 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.5003, allocations: 39.12 kB / 0.761 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=61): time 2.465e-06/0.5003, allocations: 0 / 0.761 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=61): time 0.007258/0.5075, allocations: 1.705 MB / 0.7626 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.5076, allocations: 59.97 kB / 0.7627 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.5091, allocations: 1.21 MB / 0.7639 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.731e-05/0.5092, allocations: 41.7 kB / 0.7639 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/0.5097, allocations: 0.6026 MB / 0.7645 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.5098, allocations: 208.9 kB / 0.7647 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.51, allocations: 162.5 kB / 0.7648 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.5101, allocations: 333.9 kB / 0.7652 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006524/0.5108, allocations: 288.7 kB / 0.7654 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008033/0.5116, allocations: 0.5014 MB / 0.7659 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.513, allocations: 0.709 MB / 0.7666 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.513, allocations: 0 / 0.7666 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004649/0.5177, allocations: 1.277 MB / 0.7679 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.5177, allocations: 8 kB / 0.7679 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.5177, allocations: 4 kB / 0.7679 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005492/0.5183, allocations: 128.8 kB / 0.768 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/0.5189, allocations: 159.8 kB / 0.7682 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007944/0.5197, allocations: 0.7083 MB / 0.7688 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.5208, allocations: 155.1 kB / 0.769 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.5209, allocations: 31.98 kB / 0.769 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001008/0.5219, allocations: 0.55 MB / 0.7696 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007807/0.5227, allocations: 0.4906 MB / 0.77 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00134/0.524, allocations: 0.7012 MB / 0.7707 GB, free: 0.8672 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.42e-06/0.524, allocations: 4 kB / 0.7707 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004589/0.5286, allocations: 1.265 MB / 0.772 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.5287, allocations: 8.375 kB / 0.772 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5287, allocations: 8 kB / 0.772 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004752/0.5291, allocations: 140.6 kB / 0.7721 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005583/0.5297, allocations: 159.8 kB / 0.7723 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007342/0.5305, allocations: 0.7007 MB / 0.773 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.5315, allocations: 145.3 kB / 0.7731 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.808e-05/0.5316, allocations: 31.98 kB / 0.7731 GB, free: 14.38 MB / 0.5105 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.0001947/0.5318, allocations: 235.9 kB / 0.7733 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.532, allocations: 138.3 kB / 0.7735 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004561/0.5366, allocations: 1.252 MB / 0.7747 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.5366, allocations: 11.98 kB / 0.7747 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.5366, allocations: 8 kB / 0.7747 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004124/0.5408, allocations: 1.099 MB / 0.7758 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006314/0.5471, allocations: 2.598 MB / 0.7783 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.5471, allocations: 4 kB / 0.7783 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004555/0.5476, allocations: 112.3 kB / 0.7784 GB, free: 8.754 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/0.548, allocations: 136.7 kB / 0.7786 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.386e-05/0.5481, allocations: 23.94 kB / 0.7786 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004608/0.5527, allocations: 2.392 MB / 0.7809 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5527, allocations: 4 kB / 0.7809 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03335/0.5861, allocations: 10.73 MB / 0.7914 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004695/0.5866, allocations: 307.1 kB / 0.7917 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.5868, allocations: 16 kB / 0.7917 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008461/0.5876, allocations: 84.28 kB / 0.7918 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.5878, allocations: 68.23 kB / 0.7919 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.788e-05/0.5878, allocations: 27.98 kB / 0.7919 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001148/0.589, allocations: 0.8702 MB / 0.7927 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.589, allocations: 7.875 kB / 0.7928 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002804/0.5918, allocations: 1.092 MB / 0.7938 GB, free: 8.465 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.0008495/0.5927, allocations: 431.7 kB / 0.7942 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002544/0.5952, allocations: 1.117 MB / 0.7953 GB, free: 6.934 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5952, allocations: 0 / 0.7953 GB, free: 6.934 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.5967, allocations: 0.5643 MB / 0.7959 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003668/0.6004, allocations: 0.7661 MB / 0.7966 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005796/0.6062, allocations: 3.503 MB / 0.8 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/0.6069, allocations: 1.195 MB / 0.8012 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001336/0.6082, allocations: 322.9 kB / 0.8015 GB, free: 472 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.6085, allocations: 103.4 kB / 0.8016 GB, free: 368 kB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/0.6085, allocations: 0 / 0.8016 GB, free: 368 kB / 0.5261 GB Notification: Performance of Templates: time 0.04777/0.6563, allocations: 33.46 MB / 0.8343 GB, free: 15.17 MB / 0.573 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)