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.001822/0.001822, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.002393/0.002393, allocations: 177.3 kB / 15.95 MB, free: 216 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.848/1.848, allocations: 223.2 MB / 239.9 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.9902/0.9902, allocations: 132.3 MB / 423.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.0004138, allocations: 12 kB / 0.5033 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5883/0.5887, allocations: 81.57 MB / 0.583 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.08475/0.6736, allocations: 51.34 MB / 0.6331 GB, free: 13.09 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02961/0.7033, allocations: 10.32 MB / 0.6432 GB, free: 2.75 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005004/0.7083, allocations: 51.62 kB / 0.6432 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00499/0.7134, allocations: 0.6218 MB / 0.6438 GB, free: 2.074 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01412/0.7275, allocations: 1.95 MB / 0.6457 GB, free: 124 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008194/0.7358, allocations: 1.313 MB / 0.647 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004913/0.7407, allocations: 1.862 MB / 0.6488 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002026/0.7427, allocations: 0.8264 MB / 0.6497 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002926/0.7457, allocations: 0.9847 MB / 0.6506 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.7473, allocations: 0.6105 MB / 0.6512 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003524/0.7477, allocations: 47.94 kB / 0.6513 GB, free: 10.47 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003393/0.7511, allocations: 0.9829 MB / 0.6522 GB, free: 9.488 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004297/0.7515, allocations: 195.1 kB / 0.6524 GB, free: 9.297 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006813/0.7522, allocations: 285 kB / 0.6527 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003081/0.7553, allocations: 1.59 MB / 0.6542 GB, free: 7.418 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.7553, allocations: 0 / 0.6542 GB, free: 7.418 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.7553, allocations: 0 / 0.6542 GB, free: 7.418 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.144e-05/0.7554, allocations: 0 / 0.6542 GB, free: 7.418 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.00465/0.7601, allocations: 1.512 MB / 0.6557 GB, free: 5.848 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.601e-05/0.7602, allocations: 12.03 kB / 0.6557 GB, free: 5.836 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003952/0.7606, allocations: 122.8 kB / 0.6558 GB, free: 5.707 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002628/0.7632, allocations: 469.9 kB / 0.6563 GB, free: 5.246 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/0.7663, allocations: 1.055 MB / 0.6573 GB, free: 4.133 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004248/0.7667, allocations: 137.9 kB / 0.6574 GB, free: 4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/0.767, allocations: 87.98 kB / 0.6575 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.7695, allocations: 1.017 MB / 0.6585 GB, free: 2.852 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.7695, allocations: 0 / 0.6585 GB, free: 2.852 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.934e-05/0.7697, allocations: 32 kB / 0.6586 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/0.7697, allocations: 20 kB / 0.6586 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002871/0.7726, allocations: 0.9523 MB / 0.6595 GB, free: 1.848 MB / 494.1 MB 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.009335/0.7819, allocations: 4.945 MB / 0.6643 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003683/0.7856, allocations: 0.9098 MB / 0.6652 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007919/0.7865, allocations: 0.9025 MB / 0.6661 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.7865, allocations: 34.56 kB / 0.6661 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 3.417e-06/0.7865, allocations: 0 / 0.6661 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.009425/0.796, allocations: 2.205 MB / 0.6683 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.796, allocations: 59.41 kB / 0.6683 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00344/0.7995, allocations: 1.071 MB / 0.6694 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.7997, allocations: 33.7 kB / 0.6694 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007424/0.8004, allocations: 0.5274 MB / 0.6699 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.8007, allocations: 157.8 kB / 0.6701 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/0.8008, allocations: 15.94 kB / 0.6701 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.801, allocations: 322 kB / 0.6704 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.8021, allocations: 344.9 kB / 0.6707 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.8039, allocations: 0.547 MB / 0.6713 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.8057, allocations: 383.5 kB / 0.6716 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.8057, allocations: 0 / 0.6716 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.004725/0.8104, allocations: 1.078 MB / 0.6727 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.001421/0.8119, allocations: 1.679 MB / 0.6743 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.8119, allocations: 4 kB / 0.6743 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002049/0.814, allocations: 324.6 kB / 0.6746 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009639/0.815, allocations: 143.8 kB / 0.6748 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.8174, allocations: 0.9425 MB / 0.6757 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/0.8197, allocations: 203.2 kB / 0.6759 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.8198, allocations: 31.92 kB / 0.6759 GB, free: 128 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.8199, allocations: 4 kB / 0.6759 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004255/0.8241, allocations: 0.945 MB / 0.6769 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.8242, allocations: 4 kB / 0.6769 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/0.8258, allocations: 336 kB / 0.6772 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005955/0.8264, allocations: 139.8 kB / 0.6773 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.828, allocations: 0.9309 MB / 0.6782 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.8295, allocations: 179.4 kB / 0.6784 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-05/0.8296, allocations: 27.98 kB / 0.6784 GB, free: 13.54 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.0007439/0.8304, allocations: 356.9 kB / 0.6788 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003715/0.8307, allocations: 110.6 kB / 0.6789 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004228/0.835, allocations: 1.245 MB / 0.6801 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.835, allocations: 4 kB / 0.6801 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.835, allocations: 4 kB / 0.6801 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.835, allocations: 3.984 kB / 0.6801 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006123/0.8412, allocations: 2.34 MB / 0.6824 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.8412, allocations: 0 / 0.6824 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/0.8416, allocations: 80.17 kB / 0.6825 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001146/0.8427, allocations: 320.6 kB / 0.6828 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.747e-05/0.8428, allocations: 12 kB / 0.6828 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.8446, allocations: 0.9752 MB / 0.6837 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/0.8446, allocations: 7.938 kB / 0.6837 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004796/0.8494, allocations: 1.433 MB / 0.6851 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009303/0.8504, allocations: 287.5 kB / 0.6854 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003955/0.8508, allocations: 8 kB / 0.6854 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.8521, allocations: 127.8 kB / 0.6855 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.8523, allocations: 43.89 kB / 0.6856 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.8e-05/0.8523, allocations: 19.98 kB / 0.6856 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001761/0.8541, allocations: 0.7588 MB / 0.6863 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8541, allocations: 0 / 0.6863 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002623/0.8568, allocations: 0.5691 MB / 0.6869 GB, free: 4.621 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.005927/0.8627, allocations: 2.849 MB / 0.6897 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003832/0.8665, allocations: 1.226 MB / 0.6909 GB, free: 480 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.8666, allocations: 0 / 0.6909 GB, free: 480 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.8677, allocations: 394.5 kB / 0.6912 GB, free: 84 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/0.8706, allocations: 496.7 kB / 0.6917 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009321/0.88, allocations: 5.962 MB / 0.6975 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.8811, allocations: 1.1 MB / 0.6986 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00123/0.8824, allocations: 219.1 kB / 0.6988 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007001/0.8831, allocations: 419.3 kB / 0.6992 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of SimCode: time 1.673e-06/0.8831, allocations: 0 / 0.6992 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2788/1.162, allocations: 33.23 MB / 0.7317 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004885/1.162, allocations: 253.8 kB / 0.7319 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.336/5.499, allocations: 3.188 kB / 0.7319 GB, free: 6.727 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: