Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008222/0.0008221, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0008279/0.0008279, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8299/0.8299, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002912, allocations: 12.78 kB / 0.5068 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1428, allocations: 82.32 MB / 0.5872 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.2781/0.4209, allocations: 51.33 MB / 0.6373 GB, free: 23.83 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01091/0.4318, allocations: 10.32 MB / 0.6474 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.4334, allocations: 51.12 kB / 0.6474 GB, free: 16.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002149/0.4356, allocations: 0.6315 MB / 0.6481 GB, free: 16.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005431/0.4411, allocations: 1.948 MB / 0.65 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003418/0.4445, allocations: 1.317 MB / 0.6513 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003449/0.448, allocations: 1.854 MB / 0.6531 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.4493, allocations: 0.8223 MB / 0.6539 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.4515, allocations: 0.996 MB / 0.6548 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.4527, allocations: 0.6098 MB / 0.6554 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003127/0.4531, allocations: 42.81 kB / 0.6555 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002365/0.4554, allocations: 0.9846 MB / 0.6564 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003142/0.4558, allocations: 197.5 kB / 0.6566 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004783/0.4562, allocations: 288.9 kB / 0.6569 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.4582, allocations: 1.583 MB / 0.6584 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.4582, allocations: 0 / 0.6584 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4582, allocations: 0 / 0.6584 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.445e-05/0.4583, allocations: 0 / 0.6584 GB, free: 11.19 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003103/0.4614, allocations: 1.512 MB / 0.6599 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.4614, allocations: 8.688 kB / 0.6599 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/0.4637, allocations: 477.5 kB / 0.6604 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.4658, allocations: 1.045 MB / 0.6614 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003437/0.4661, allocations: 131.5 kB / 0.6615 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.4662, allocations: 79.84 kB / 0.6616 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.4682, allocations: 1.024 MB / 0.6626 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.4682, allocations: 0.9375 kB / 0.6626 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.998e-05/0.4683, allocations: 35.62 kB / 0.6626 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.4683, allocations: 20.55 kB / 0.6627 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/0.4707, allocations: 0.9514 MB / 0.6636 GB, free: 8.578 MB / 0.4981 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.005529/0.4762, allocations: 4.932 MB / 0.6684 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/0.4795, allocations: 0.9215 MB / 0.6693 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003848/0.4799, allocations: 0.9003 MB / 0.6702 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.4799, allocations: 41.12 kB / 0.6702 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.034e-06/0.4799, allocations: 0.8438 kB / 0.6702 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.008112/0.488, allocations: 2.205 MB / 0.6724 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.4881, allocations: 56.09 kB / 0.6724 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.4895, allocations: 1.068 MB / 0.6735 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.499e-05/0.4896, allocations: 38.23 kB / 0.6735 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.4899, allocations: 0.5284 MB / 0.674 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.4901, allocations: 157.8 kB / 0.6742 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.4901, allocations: 9.375 kB / 0.6742 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.4901, allocations: 331 kB / 0.6745 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008878/0.491, allocations: 338.5 kB / 0.6748 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009498/0.492, allocations: 0.5426 MB / 0.6754 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008859/0.4929, allocations: 378.9 kB / 0.6757 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4929, allocations: 5.984 kB / 0.6757 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002556/0.4955, allocations: 1.078 MB / 0.6768 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004353/0.4959, allocations: 1.675 MB / 0.6784 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.4959, allocations: 5 kB / 0.6784 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.4972, allocations: 331 kB / 0.6787 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005482/0.4977, allocations: 139.5 kB / 0.6789 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.4992, allocations: 0.9518 MB / 0.6798 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.5007, allocations: 209.6 kB / 0.68 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.631e-05/0.5008, allocations: 29.5 kB / 0.68 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.5008, allocations: 3.562 kB / 0.68 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002462/0.5032, allocations: 0.9508 MB / 0.681 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5033, allocations: 6.094 kB / 0.681 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.5043, allocations: 319.3 kB / 0.6813 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/0.5049, allocations: 141.9 kB / 0.6814 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.5062, allocations: 0.9269 MB / 0.6823 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.5075, allocations: 185.2 kB / 0.6825 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.756e-05/0.5076, allocations: 28.73 kB / 0.6825 GB, free: 12.99 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.000653/0.5082, allocations: 354.6 kB / 0.6828 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.5084, allocations: 119.1 kB / 0.683 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003943/0.5124, allocations: 1.235 MB / 0.6842 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.5124, allocations: 6.672 kB / 0.6842 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.5124, allocations: 1.406 kB / 0.6842 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.5125, allocations: 2.297 kB / 0.6842 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005999/0.5185, allocations: 2.34 MB / 0.6865 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.5185, allocations: 2.531 kB / 0.6865 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.5188, allocations: 80.02 kB / 0.6865 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.5199, allocations: 319 kB / 0.6868 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.5199, allocations: 16.5 kB / 0.6869 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/0.5214, allocations: 0.9689 MB / 0.6878 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/0.5214, allocations: 11.27 kB / 0.6878 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003856/0.5253, allocations: 1.427 MB / 0.6892 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006729/0.5259, allocations: 290.2 kB / 0.6895 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.5261, allocations: 13.5 kB / 0.6895 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009118/0.527, allocations: 123.3 kB / 0.6896 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/0.5271, allocations: 42.19 kB / 0.6897 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.184e-05/0.5272, allocations: 28.77 kB / 0.6897 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001191/0.5284, allocations: 0.7543 MB / 0.6904 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5284, allocations: 0 / 0.6904 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001615/0.53, allocations: 0.5644 MB / 0.691 GB, free: 9.055 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008762/0.5309, allocations: 385.5 kB / 0.6913 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003345/0.5342, allocations: 1.222 MB / 0.6925 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.5343, allocations: 1.125 kB / 0.6925 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009852/0.5353, allocations: 396.3 kB / 0.6929 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/0.5377, allocations: 0.4951 MB / 0.6934 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005203/0.5429, allocations: 2.503 MB / 0.6958 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/0.5435, allocations: 1.093 MB / 0.6969 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001025/0.5446, allocations: 216.2 kB / 0.6971 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.5447, allocations: 75.14 kB / 0.6972 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of SimCode: time 7.52e-07/0.5447, allocations: 0 / 0.6972 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of Templates: time 0.03604/0.5808, allocations: 23.51 MB / 0.7201 GB, free: 3.305 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1) Environment - environmentSimulation: