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.0006825/0.0006825, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0007887/0.0007887, allocations: 172.7 kB / 15.95 MB, free: 192 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.226/1.226, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9138/0.9138, allocations: 135.3 MB / 426.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003331, allocations: 8 kB / 0.5071 GB, free: 5.066 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1546, allocations: 82.32 MB / 0.5875 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.3061/0.4608, allocations: 56.49 MB / 0.6426 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01255/0.4734, allocations: 11.21 MB / 0.6536 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001904/0.4753, allocations: 50.47 kB / 0.6536 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.4769, allocations: 463.5 kB / 0.6541 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004098/0.481, allocations: 1.533 MB / 0.6556 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.4835, allocations: 0.8591 MB / 0.6564 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00362/0.4872, allocations: 3.388 MB / 0.6597 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.4885, allocations: 0.7852 MB / 0.6605 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/0.4907, allocations: 1.038 MB / 0.6615 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.4923, allocations: 0.8051 MB / 0.6623 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000261/0.4926, allocations: 45.66 kB / 0.6623 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.4954, allocations: 1.114 MB / 0.6634 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.4957, allocations: 195.7 kB / 0.6636 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005765/0.4963, allocations: 278.8 kB / 0.6639 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002771/0.4991, allocations: 1.65 MB / 0.6655 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4991, allocations: 0 / 0.6655 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4991, allocations: 0.9062 kB / 0.6655 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.499e-05/0.4992, allocations: 0 / 0.6655 GB, free: 6.953 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.003577/0.5027, allocations: 1.495 MB / 0.6669 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.5028, allocations: 9.5 kB / 0.6669 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002735/0.5031, allocations: 122.4 kB / 0.6671 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002253/0.5053, allocations: 476.8 kB / 0.6675 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002313/0.5076, allocations: 1.1 MB / 0.6686 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003389/0.508, allocations: 127.9 kB / 0.6687 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.5081, allocations: 87.59 kB / 0.6688 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.5102, allocations: 0.9997 MB / 0.6698 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.5103, allocations: 1.156 kB / 0.6698 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.53e-05/0.5103, allocations: 31.31 kB / 0.6698 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.5104, allocations: 19.5 kB / 0.6698 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002287/0.5127, allocations: 0.9163 MB / 0.6707 GB, free: 4.238 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.006052/0.5187, allocations: 4.893 MB / 0.6755 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003105/0.5218, allocations: 0.8996 MB / 0.6764 GB, free: 340 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006984/0.5226, allocations: 322 kB / 0.6767 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006582/0.5232, allocations: 0.9055 MB / 0.6776 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.5233, allocations: 41.34 kB / 0.6776 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 3.637e-06/0.5233, allocations: 9.016 kB / 0.6776 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.007938/0.5312, allocations: 2.158 MB / 0.6797 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.5313, allocations: 55.53 kB / 0.6798 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.5333, allocations: 1.047 MB / 0.6808 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.757e-05/0.5333, allocations: 42.05 kB / 0.6808 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004627/0.5338, allocations: 0.5226 MB / 0.6813 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.534, allocations: 153.3 kB / 0.6815 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.534, allocations: 10 kB / 0.6815 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5342, allocations: 326.9 kB / 0.6818 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008684/0.535, allocations: 319.7 kB / 0.6821 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.5361, allocations: 0.5297 MB / 0.6826 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008949/0.537, allocations: 358.7 kB / 0.683 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.537, allocations: 1.281 kB / 0.683 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002605/0.5396, allocations: 1.035 MB / 0.684 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.5398, allocations: 213.1 kB / 0.6842 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.5398, allocations: 9.344 kB / 0.6842 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.541, allocations: 337.1 kB / 0.6845 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.5415, allocations: 131.4 kB / 0.6846 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.5429, allocations: 0.9323 MB / 0.6856 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.5442, allocations: 198 kB / 0.6857 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.162e-05/0.5443, allocations: 28.25 kB / 0.6858 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.5443, allocations: 5.656 kB / 0.6858 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002314/0.5467, allocations: 0.9126 MB / 0.6867 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.5467, allocations: 4.906 kB / 0.6867 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.5477, allocations: 327.5 kB / 0.687 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.5482, allocations: 130.8 kB / 0.6871 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.5496, allocations: 0.933 MB / 0.688 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.5508, allocations: 171.9 kB / 0.6882 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.643e-05/0.5508, allocations: 27.78 kB / 0.6882 GB, free: 10.14 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 (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.0006137/0.5515, allocations: 357.5 kB / 0.6886 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/0.5517, allocations: 112.2 kB / 0.6887 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003523/0.5552, allocations: 1.209 MB / 0.6898 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.5553, allocations: 8.562 kB / 0.6898 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/0.5553, allocations: 3.984 kB / 0.6899 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.5553, allocations: 4.312 kB / 0.6899 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005071/0.5604, allocations: 2.283 MB / 0.6921 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.5604, allocations: 2.625 kB / 0.6921 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.5607, allocations: 73.97 kB / 0.6922 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009294/0.5616, allocations: 321.8 kB / 0.6925 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.5617, allocations: 18.12 kB / 0.6925 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/0.563, allocations: 0.9705 MB / 0.6934 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.563, allocations: 3.156 kB / 0.6934 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00328/0.5663, allocations: 1.285 MB / 0.6947 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000561/0.5669, allocations: 283.9 kB / 0.695 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/0.5671, allocations: 14.95 kB / 0.695 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009198/0.5681, allocations: 109.2 kB / 0.6951 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.131e-05/0.5682, allocations: 37.06 kB / 0.6951 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-05/0.5682, allocations: 26.67 kB / 0.6951 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001253/0.5695, allocations: 0.7401 MB / 0.6959 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5695, allocations: 0 / 0.6959 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001855/0.5714, allocations: 0.5597 MB / 0.6964 GB, free: 6.391 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.004319/0.5757, allocations: 2.098 MB / 0.6985 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002998/0.5787, allocations: 1.165 MB / 0.6996 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5787, allocations: 5.312 kB / 0.6996 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008456/0.5796, allocations: 373.1 kB / 0.7 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/0.582, allocations: 0.4953 MB / 0.7004 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/0.5983, allocations: 6.857 MB / 0.7071 GB, free: 4 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007243/0.5991, allocations: 1.061 MB / 0.7082 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001091/0.6002, allocations: 223.5 kB / 0.7084 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005531/0.6008, allocations: 412.5 kB / 0.7088 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.6008, allocations: 3.938 kB / 0.7088 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.214/1.815, allocations: 33.45 MB / 0.7414 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003275/1.815, allocations: 244.1 kB / 0.7417 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/4.174, allocations: 3.938 kB / 0.7417 GB, free: 13.62 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/linux/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) Environment - environmentSimulation: