Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",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.00105/0.00105, allocations: 97.64 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.008812/0.008812, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.269/1.269, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8474/0.8474, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002977/0.0002977, allocations: 8 kB / 0.5077 GB, free: 4.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1518, allocations: 82.3 MB / 0.5881 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.3185/0.4703, allocations: 59.73 MB / 0.6464 GB, free: 17.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01352/0.4839, allocations: 11.91 MB / 0.658 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.4856, allocations: 50.59 kB / 0.6581 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.4869, allocations: 0.5432 MB / 0.6586 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003886/0.4908, allocations: 1.797 MB / 0.6604 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.493, allocations: 1.092 MB / 0.6614 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003396/0.4964, allocations: 3.9 MB / 0.6652 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.4975, allocations: 0.9092 MB / 0.6661 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.4995, allocations: 1.121 MB / 0.6672 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009601/0.5005, allocations: 0.8472 MB / 0.668 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.5006, allocations: 45.78 kB / 0.6681 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.5029, allocations: 1.35 MB / 0.6694 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.5031, allocations: 211.4 kB / 0.6696 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005861/0.5037, allocations: 0.6352 MB / 0.6702 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002784/0.5065, allocations: 2.202 MB / 0.6724 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.5065, allocations: 0 / 0.6724 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5066, allocations: 0 / 0.6724 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.575e-05/0.5066, allocations: 0 / 0.6724 GB, free: 2.234 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.002414/0.509, allocations: 1.492 MB / 0.6738 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.509, allocations: 9.797 kB / 0.6738 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.5092, allocations: 122.2 kB / 0.674 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/0.5108, allocations: 385.4 kB / 0.6743 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/0.5127, allocations: 1.127 MB / 0.6754 GB, free: 332 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003456/0.513, allocations: 132.7 kB / 0.6756 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.5132, allocations: 82.64 kB / 0.6756 GB, free: 268 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.515, allocations: 0.9682 MB / 0.6766 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.5151, allocations: 1.031 kB / 0.6766 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.8e-05/0.5152, allocations: 31.78 kB / 0.6766 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.5152, allocations: 18.41 kB / 0.6766 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.5173, allocations: 0.8526 MB / 0.6775 GB, free: 15.51 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.005968/0.5233, allocations: 4.798 MB / 0.6821 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.5248, allocations: 0.5929 MB / 0.6827 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006155/0.5254, allocations: 287.9 kB / 0.683 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001347/0.5268, allocations: 1.393 MB / 0.6844 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.5268, allocations: 45.77 kB / 0.6844 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 1.543e-06/0.5268, allocations: 0 / 0.6844 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008506/0.5353, allocations: 2.046 MB / 0.6864 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.5354, allocations: 55.94 kB / 0.6865 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.537, allocations: 1.057 MB / 0.6875 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.5371, allocations: 38.11 kB / 0.6875 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.5375, allocations: 0.5226 MB / 0.688 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.5376, allocations: 152.8 kB / 0.6882 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.709e-05/0.5377, allocations: 47.73 kB / 0.6882 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5378, allocations: 325.2 kB / 0.6885 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007914/0.5386, allocations: 291.3 kB / 0.6888 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009257/0.5395, allocations: 499.3 kB / 0.6893 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.541, allocations: 0.667 MB / 0.6899 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.541, allocations: 5.469 kB / 0.6899 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002382/0.5434, allocations: 0.9727 MB / 0.6909 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.5435, allocations: 207.6 kB / 0.6911 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.5435, allocations: 5.156 kB / 0.6911 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.5448, allocations: 331.7 kB / 0.6914 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.5453, allocations: 118.3 kB / 0.6915 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.5468, allocations: 0.9366 MB / 0.6924 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.5481, allocations: 182 kB / 0.6926 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.9e-05/0.5482, allocations: 29.64 kB / 0.6926 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/0.5482, allocations: 3.781 kB / 0.6927 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002186/0.5504, allocations: 0.8493 MB / 0.6935 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.5504, allocations: 4.125 kB / 0.6935 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.5515, allocations: 326.4 kB / 0.6938 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/0.5519, allocations: 114.2 kB / 0.6939 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.5533, allocations: 0.9328 MB / 0.6948 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.5545, allocations: 157.6 kB / 0.695 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-05/0.5545, allocations: 37.27 kB / 0.695 GB, free: 4.844 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.0005825/0.5551, allocations: 347.6 kB / 0.6953 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.5553, allocations: 106.6 kB / 0.6954 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003795/0.5591, allocations: 1.16 MB / 0.6966 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.5591, allocations: 10.95 kB / 0.6966 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.5591, allocations: 1.156 kB / 0.6966 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.5592, allocations: 7.031 kB / 0.6966 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005208/0.5644, allocations: 2.148 MB / 0.6987 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.425e-06/0.5644, allocations: 1.656 kB / 0.6987 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.5646, allocations: 56.08 kB / 0.6987 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/0.5656, allocations: 326.9 kB / 0.699 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.5657, allocations: 16.08 kB / 0.6991 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/0.5672, allocations: 0.9768 MB / 0.7 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.5672, allocations: 10.34 kB / 0.7 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003397/0.5706, allocations: 1.185 MB / 0.7012 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004725/0.5711, allocations: 281.7 kB / 0.7015 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.5713, allocations: 13.03 kB / 0.7015 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000881/0.5722, allocations: 95.27 kB / 0.7016 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.653e-05/0.5722, allocations: 45.33 kB / 0.7016 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.982e-05/0.5723, allocations: 22.98 kB / 0.7016 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00128/0.5736, allocations: 0.7428 MB / 0.7023 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.613e-06/0.5736, allocations: 4 kB / 0.7024 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001922/0.5755, allocations: 0.5725 MB / 0.7029 GB, free: 1.184 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 (33): * Single equations (assignments): 28 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004508/0.5801, allocations: 2.024 MB / 0.7049 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002759/0.5828, allocations: 1.049 MB / 0.7059 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.5828, allocations: 1.375 kB / 0.7059 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007882/0.5836, allocations: 339.4 kB / 0.7062 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/0.5864, allocations: 0.4957 MB / 0.7067 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/0.6028, allocations: 8.735 MB / 0.7153 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/0.6035, allocations: 1.057 MB / 0.7163 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009211/0.6044, allocations: 217.2 kB / 0.7165 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004996/0.6049, allocations: 407.3 kB / 0.7169 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.6049, allocations: 0 / 0.7169 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.126/3.731, allocations: 32.3 MB / 0.7484 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002704/3.731, allocations: 292.6 kB / 0.7487 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.501/7.232, allocations: 3.938 kB / 0.7487 GB, free: 6.375 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)