Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_LimitedCapacity,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="IDEAS_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.000722/0.000722, allocations: 90.91 kB / 15.06 MB, free: 1.094 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.0007558/0.0007558, allocations: 172.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.383/1.383, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7501/0.7501, allocations: 132.3 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003803, allocations: 13.56 kB / 0.5035 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.514/0.5144, allocations: 81.56 MB / 0.5831 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.06413/0.5786, allocations: 56.51 MB / 0.6383 GB, free: 7.957 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01812/0.5968, allocations: 11.2 MB / 0.6493 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002986/0.5998, allocations: 51.62 kB / 0.6493 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.6021, allocations: 460.9 kB / 0.6498 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006234/0.6084, allocations: 1.519 MB / 0.6512 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003692/0.6121, allocations: 0.8635 MB / 0.6521 GB, free: 9.859 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006066/0.6182, allocations: 3.39 MB / 0.6554 GB, free: 6.457 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002526/0.6208, allocations: 0.7977 MB / 0.6562 GB, free: 5.633 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003519/0.6244, allocations: 1.046 MB / 0.6572 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002268/0.6267, allocations: 0.8011 MB / 0.658 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004402/0.6271, allocations: 40 kB / 0.658 GB, free: 3.738 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003667/0.6308, allocations: 1.119 MB / 0.6591 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005992/0.6314, allocations: 191 kB / 0.6593 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009188/0.6324, allocations: 285.1 kB / 0.6596 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003366/0.6358, allocations: 1.652 MB / 0.6612 GB, free: 500 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.6358, allocations: 0 / 0.6612 GB, free: 500 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.6358, allocations: 0 / 0.6612 GB, free: 500 kB / 494.1 MB Notification: Performance of Transformations before backend: time 7.331e-05/0.6359, allocations: 0 / 0.6612 GB, free: 500 kB / 494.1 MB 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.004061/0.64, allocations: 1.501 MB / 0.6626 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.64, allocations: 8.031 kB / 0.6627 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003753/0.6404, allocations: 122.7 kB / 0.6628 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.6423, allocations: 390 kB / 0.6631 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003016/0.6453, allocations: 1.082 MB / 0.6642 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003461/0.6457, allocations: 121.9 kB / 0.6643 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002259/0.6459, allocations: 88 kB / 0.6644 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.6483, allocations: 0.9582 MB / 0.6653 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.6483, allocations: 8 kB / 0.6653 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.6484, allocations: 36 kB / 0.6654 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.6485, allocations: 19.95 kB / 0.6654 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/0.6507, allocations: 0.8431 MB / 0.6662 GB, free: 11.16 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.007783/0.6585, allocations: 4.804 MB / 0.6709 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.66, allocations: 0.5898 MB / 0.6715 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/0.6607, allocations: 282.3 kB / 0.6718 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/0.6622, allocations: 1.4 MB / 0.6731 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.6622, allocations: 38.56 kB / 0.6732 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.845e-06/0.6622, allocations: 0 / 0.6732 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.007645/0.6699, allocations: 2.036 MB / 0.6751 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.67, allocations: 55.41 kB / 0.6752 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002402/0.6724, allocations: 1.055 MB / 0.6762 GB, free: 180 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.6725, allocations: 33.7 kB / 0.6763 GB, free: 140 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006674/0.6732, allocations: 0.5196 MB / 0.6768 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.6734, allocations: 157.8 kB / 0.6769 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.6735, allocations: 8 kB / 0.6769 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.6736, allocations: 330 kB / 0.6772 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007361/0.6744, allocations: 277 kB / 0.6775 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009528/0.6753, allocations: 0.491 MB / 0.678 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008048/0.6762, allocations: 319.6 kB / 0.6783 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.6762, allocations: 0 / 0.6783 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003392/0.6796, allocations: 1.145 MB / 0.6794 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.6798, allocations: 208 kB / 0.6796 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.6798, allocations: 4 kB / 0.6796 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.681, allocations: 324.7 kB / 0.6799 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/0.6815, allocations: 123.8 kB / 0.68 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.683, allocations: 0.9308 MB / 0.6809 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.6844, allocations: 191.2 kB / 0.6811 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.6845, allocations: 31.92 kB / 0.6812 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.6845, allocations: 4 kB / 0.6812 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002845/0.6874, allocations: 1.003 MB / 0.6821 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.6874, allocations: 8 kB / 0.6822 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.6885, allocations: 333 kB / 0.6825 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.6889, allocations: 107.9 kB / 0.6826 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.6903, allocations: 0.9454 MB / 0.6835 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.6915, allocations: 155.3 kB / 0.6836 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.398e-05/0.6916, allocations: 27.98 kB / 0.6837 GB, free: 8.324 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.0006777/0.6923, allocations: 348.9 kB / 0.684 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.6926, allocations: 110.7 kB / 0.6841 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003484/0.6961, allocations: 1.151 MB / 0.6852 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.6962, allocations: 7.984 kB / 0.6852 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.6962, allocations: 4 kB / 0.6852 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.6962, allocations: 0 / 0.6852 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005002/0.7012, allocations: 2.146 MB / 0.6873 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.7012, allocations: 8 kB / 0.6873 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.7015, allocations: 56.22 kB / 0.6874 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009924/0.7025, allocations: 334.5 kB / 0.6877 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.7025, allocations: 15.98 kB / 0.6877 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/0.7039, allocations: 0.9661 MB / 0.6887 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.704, allocations: 3.938 kB / 0.6887 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003182/0.7071, allocations: 1.191 MB / 0.6898 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007065/0.7079, allocations: 275.4 kB / 0.6901 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/0.7082, allocations: 8 kB / 0.6901 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009691/0.7092, allocations: 107.8 kB / 0.6902 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.893e-05/0.7093, allocations: 43.84 kB / 0.6903 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.851e-05/0.7093, allocations: 23.98 kB / 0.6903 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001476/0.7108, allocations: 0.735 MB / 0.691 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7108, allocations: 0 / 0.691 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002082/0.7129, allocations: 0.5614 MB / 0.6915 GB, free: 56 kB / 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 (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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.004356/0.7173, allocations: 2.017 MB / 0.6935 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002804/0.7201, allocations: 1.05 MB / 0.6945 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.7201, allocations: 0 / 0.6945 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007733/0.7209, allocations: 330.2 kB / 0.6949 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/0.7239, allocations: 0.4919 MB / 0.6953 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/0.7405, allocations: 6.442 MB / 0.7016 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009964/0.7416, allocations: 1.058 MB / 0.7027 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001271/0.7429, allocations: 221.8 kB / 0.7029 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000667/0.7436, allocations: 407.3 kB / 0.7033 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of SimCode: time 1.443e-06/0.7436, allocations: 0 / 0.7033 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06316/0.8068, allocations: 33.46 MB / 0.7359 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/0.8071, allocations: 258.9 kB / 0.7362 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/3.262, allocations: 3.938 kB / 0.7362 GB, free: 2.449 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: