Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",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.0009311/0.0009311, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005399/0.005399, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.263/1.263, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8473/0.8473, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002974, allocations: 8.562 kB / 0.5077 GB, free: 4.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 82.31 MB / 0.5881 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.305/0.442, allocations: 59.73 MB / 0.6464 GB, free: 17.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.4545, allocations: 11.9 MB / 0.658 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/0.4565, allocations: 53.84 kB / 0.6581 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.458, allocations: 0.5552 MB / 0.6586 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004109/0.4621, allocations: 1.794 MB / 0.6604 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.4647, allocations: 1.075 MB / 0.6614 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003834/0.4685, allocations: 3.909 MB / 0.6652 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.4698, allocations: 0.9092 MB / 0.6661 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.4719, allocations: 1.116 MB / 0.6672 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.473, allocations: 0.8504 MB / 0.668 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.4731, allocations: 41.81 kB / 0.6681 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/0.4754, allocations: 1.352 MB / 0.6694 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.4756, allocations: 212 kB / 0.6696 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005836/0.4762, allocations: 0.6316 MB / 0.6702 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.4788, allocations: 2.197 MB / 0.6724 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.4788, allocations: 0 / 0.6724 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4788, allocations: 0 / 0.6724 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.4789, allocations: 1.219 kB / 0.6724 GB, free: 2.203 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002345/0.4812, allocations: 1.49 MB / 0.6738 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.4813, allocations: 10.08 kB / 0.6738 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.4814, allocations: 122.5 kB / 0.6739 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.4835, allocations: 474.7 kB / 0.6744 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.4853, allocations: 1.131 MB / 0.6755 GB, free: 292 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003588/0.4857, allocations: 131.3 kB / 0.6756 GB, free: 256 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.4858, allocations: 80.44 kB / 0.6757 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.4878, allocations: 1.005 MB / 0.6767 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.4879, allocations: 1.156 kB / 0.6767 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.069e-05/0.488, allocations: 35.77 kB / 0.6767 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.488, allocations: 18.88 kB / 0.6767 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002373/0.4904, allocations: 0.922 MB / 0.6776 GB, free: 15.45 MB / 0.5137 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.006148/0.4965, allocations: 4.9 MB / 0.6824 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003525/0.5001, allocations: 0.9028 MB / 0.6833 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007515/0.5008, allocations: 318.6 kB / 0.6836 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000578/0.5014, allocations: 0.91 MB / 0.6845 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.5014, allocations: 49.2 kB / 0.6845 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 1.844e-06/0.5015, allocations: 0 / 0.6845 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.008948/0.5104, allocations: 2.169 MB / 0.6867 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.5105, allocations: 59.47 kB / 0.6867 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.5119, allocations: 1.058 MB / 0.6878 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.512, allocations: 38.48 kB / 0.6878 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004036/0.5124, allocations: 0.5218 MB / 0.6883 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.5125, allocations: 150.6 kB / 0.6884 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.011e-05/0.5126, allocations: 47.58 kB / 0.6885 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5127, allocations: 324.9 kB / 0.6888 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009186/0.5137, allocations: 333.5 kB / 0.6891 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.5147, allocations: 0.5322 MB / 0.6896 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.5164, allocations: 0.7341 MB / 0.6904 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5165, allocations: 1.156 kB / 0.6904 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002747/0.5192, allocations: 1.051 MB / 0.6914 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.5193, allocations: 215 kB / 0.6916 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.5194, allocations: 4.219 kB / 0.6916 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.5207, allocations: 332 kB / 0.6919 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005154/0.5212, allocations: 130.3 kB / 0.692 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.5227, allocations: 0.9444 MB / 0.693 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.524, allocations: 194.4 kB / 0.6931 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.917e-05/0.5241, allocations: 28.66 kB / 0.6932 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/0.5241, allocations: 3.344 kB / 0.6932 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002457/0.5266, allocations: 0.9191 MB / 0.6941 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5266, allocations: 9.156 kB / 0.6941 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.5277, allocations: 324.4 kB / 0.6944 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005031/0.5282, allocations: 128.5 kB / 0.6945 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.5296, allocations: 0.9375 MB / 0.6954 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.5307, allocations: 167.5 kB / 0.6956 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.035e-05/0.5308, allocations: 28.73 kB / 0.6956 GB, free: 5.066 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005387/0.5313, allocations: 357.1 kB / 0.696 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.5315, allocations: 111.1 kB / 0.6961 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003886/0.5354, allocations: 1.208 MB / 0.6972 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.5354, allocations: 6.672 kB / 0.6972 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5354, allocations: 1.125 kB / 0.6972 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.5354, allocations: 10.98 kB / 0.6973 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005073/0.5405, allocations: 2.288 MB / 0.6995 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.5405, allocations: 2.406 kB / 0.6995 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.5408, allocations: 73.66 kB / 0.6996 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009859/0.5418, allocations: 332.2 kB / 0.6999 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/0.5418, allocations: 17.42 kB / 0.6999 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.5432, allocations: 0.9667 MB / 0.7008 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5432, allocations: 2.906 kB / 0.7008 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003597/0.5468, allocations: 1.287 MB / 0.7021 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/0.5473, allocations: 285 kB / 0.7024 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.5474, allocations: 8.812 kB / 0.7024 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009018/0.5483, allocations: 119.3 kB / 0.7025 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/0.5484, allocations: 43.73 kB / 0.7025 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/0.5484, allocations: 24.52 kB / 0.7026 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00107/0.5495, allocations: 0.7428 MB / 0.7033 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5495, allocations: 0 / 0.7033 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001523/0.5511, allocations: 0.5587 MB / 0.7038 GB, free: 1.074 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 (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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004582/0.5556, allocations: 2.111 MB / 0.7059 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003005/0.5587, allocations: 1.181 MB / 0.707 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5587, allocations: 3.125 kB / 0.707 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008287/0.5595, allocations: 368.2 kB / 0.7074 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.5621, allocations: 0.5019 MB / 0.7079 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/0.5796, allocations: 9.219 MB / 0.7169 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/0.5802, allocations: 1.061 MB / 0.7179 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009179/0.5811, allocations: 227.1 kB / 0.7181 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004828/0.5816, allocations: 407.3 kB / 0.7185 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.5816, allocations: 0 / 0.7185 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.578/4.16, allocations: 32.29 MB / 0.7501 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/4.16, allocations: 266.6 kB / 0.7503 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.936/7.096, allocations: 0 / 0.7503 GB, free: 4.746 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)