Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008015/0.0008014, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007913/0.0007913, allocations: 168.7 kB / 15.95 MB, free: 204 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.384/1.384, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7728/0.7728, allocations: 132.3 MB / 423.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003301, allocations: 8.562 kB / 0.5035 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5001/0.5004, allocations: 81.58 MB / 0.5832 GB, free: 4.223 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06247/0.563, allocations: 56.55 MB / 0.6384 GB, free: 8.012 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01755/0.5806, allocations: 11.22 MB / 0.6493 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002965/0.5836, allocations: 55.56 kB / 0.6494 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002342/0.586, allocations: 456.9 kB / 0.6498 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006562/0.5925, allocations: 1.535 MB / 0.6513 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003905/0.5965, allocations: 0.8611 MB / 0.6522 GB, free: 9.883 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005719/0.6022, allocations: 3.406 MB / 0.6555 GB, free: 6.465 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.604, allocations: 0.8028 MB / 0.6563 GB, free: 5.637 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002903/0.6069, allocations: 1.054 MB / 0.6573 GB, free: 4.578 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.6087, allocations: 0.8127 MB / 0.6581 GB, free: 3.762 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.6089, allocations: 40 kB / 0.6581 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002731/0.6116, allocations: 1.091 MB / 0.6592 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002581/0.6119, allocations: 195 kB / 0.6594 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005333/0.6124, allocations: 289 kB / 0.6597 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.6149, allocations: 1.641 MB / 0.6613 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.6149, allocations: 7.984 kB / 0.6613 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.615, allocations: 3.938 kB / 0.6613 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.615, allocations: 0 / 0.6613 GB, free: 0.4922 MB / 494.1 MB 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.002793/0.6178, allocations: 1.52 MB / 0.6628 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.6178, allocations: 12.03 kB / 0.6628 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001435/0.618, allocations: 122.8 kB / 0.6629 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/0.6199, allocations: 473.9 kB / 0.6633 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002053/0.622, allocations: 1.09 MB / 0.6644 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003135/0.6223, allocations: 133.9 kB / 0.6645 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.6224, allocations: 80 kB / 0.6646 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/0.6244, allocations: 1.028 MB / 0.6656 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.6244, allocations: 3.938 kB / 0.6656 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-05/0.6245, allocations: 32 kB / 0.6656 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/0.6246, allocations: 23.95 kB / 0.6657 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.6268, allocations: 0.9524 MB / 0.6666 GB, free: 10.87 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.006462/0.6333, allocations: 4.922 MB / 0.6714 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/0.6364, allocations: 0.8981 MB / 0.6723 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007352/0.6371, allocations: 347 kB / 0.6726 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006695/0.6378, allocations: 0.9064 MB / 0.6735 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.6378, allocations: 30.56 kB / 0.6735 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 1.764e-06/0.6378, allocations: 0 / 0.6735 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.007751/0.6456, allocations: 2.212 MB / 0.6757 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.6457, allocations: 59.36 kB / 0.6757 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.6473, allocations: 1.052 MB / 0.6768 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.37e-05/0.6475, allocations: 37.7 kB / 0.6768 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004336/0.6479, allocations: 0.5235 MB / 0.6773 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.6481, allocations: 165.6 kB / 0.6775 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.6481, allocations: 12 kB / 0.6775 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6482, allocations: 326 kB / 0.6778 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008746/0.6491, allocations: 344.9 kB / 0.6781 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.6501, allocations: 0.5451 MB / 0.6787 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008904/0.651, allocations: 375.5 kB / 0.679 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.651, allocations: 4 kB / 0.679 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002711/0.6538, allocations: 1.078 MB / 0.6801 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.6539, allocations: 220.7 kB / 0.6803 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.654, allocations: 4 kB / 0.6803 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.6552, allocations: 328.7 kB / 0.6806 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005399/0.6557, allocations: 143.8 kB / 0.6807 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.6572, allocations: 0.9378 MB / 0.6817 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.6588, allocations: 199.2 kB / 0.6818 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.533e-05/0.6589, allocations: 35.98 kB / 0.6819 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.6589, allocations: 4 kB / 0.6819 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002465/0.6614, allocations: 0.9454 MB / 0.6828 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.6614, allocations: 8.062 kB / 0.6828 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.6625, allocations: 324.6 kB / 0.6831 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005414/0.6631, allocations: 139.8 kB / 0.6833 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.6646, allocations: 0.9271 MB / 0.6842 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.6659, allocations: 183.2 kB / 0.6843 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-05/0.666, allocations: 27.98 kB / 0.6844 GB, free: 7.797 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.0006752/0.6667, allocations: 356.9 kB / 0.6847 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.6669, allocations: 118.6 kB / 0.6848 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003525/0.6704, allocations: 1.24 MB / 0.686 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.6704, allocations: 4 kB / 0.686 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.6704, allocations: 0 / 0.686 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.6705, allocations: 3.984 kB / 0.686 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004998/0.6755, allocations: 2.328 MB / 0.6883 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.6755, allocations: 4 kB / 0.6883 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.6758, allocations: 80.17 kB / 0.6884 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009761/0.6768, allocations: 324.5 kB / 0.6887 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.6768, allocations: 23.92 kB / 0.6887 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.6782, allocations: 0.9675 MB / 0.6897 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6782, allocations: 0 / 0.6897 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003458/0.6817, allocations: 1.318 MB / 0.6909 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006103/0.6823, allocations: 279.4 kB / 0.6912 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.6825, allocations: 15.98 kB / 0.6912 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008253/0.6833, allocations: 115.8 kB / 0.6913 GB, free: 464 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.58e-05/0.6834, allocations: 47.84 kB / 0.6914 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/0.6835, allocations: 19.98 kB / 0.6914 GB, free: 396 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001179/0.6846, allocations: 0.7393 MB / 0.6921 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6847, allocations: 0 / 0.6921 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001594/0.6863, allocations: 0.5613 MB / 0.6927 GB, free: 15.08 MB / 0.5294 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.00448/0.6907, allocations: 2.12 MB / 0.6947 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003356/0.6941, allocations: 1.23 MB / 0.6959 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.6942, allocations: 3.938 kB / 0.696 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009408/0.6951, allocations: 386.4 kB / 0.6963 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/0.6982, allocations: 0.5099 MB / 0.6968 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01802/0.7162, allocations: 6.97 MB / 0.7036 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008506/0.7171, allocations: 1.065 MB / 0.7047 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001325/0.7185, allocations: 218.7 kB / 0.7049 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006576/0.7191, allocations: 411.3 kB / 0.7053 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of SimCode: time 1.172e-06/0.7192, allocations: 4 kB / 0.7053 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06541/0.7846, allocations: 33.51 MB / 0.738 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.7848, allocations: 267.4 kB / 0.7383 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/3.253, allocations: 0 / 0.7383 GB, free: 0.4961 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1) Environment - environmentSimulation: