Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",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.001733/0.001733, allocations: 99.7 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.001902/0.001902, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.392/2.392, allocations: 223.2 MB / 239.9 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.188/1.188, allocations: 132.2 MB / 423.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004676, allocations: 8.562 kB / 0.5033 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7502/0.7507, allocations: 81.57 MB / 0.583 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.0963/0.8471, allocations: 51.31 MB / 0.6331 GB, free: 13.04 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02776/0.8749, allocations: 10.3 MB / 0.6431 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005269/0.8802, allocations: 47.62 kB / 0.6432 GB, free: 2.68 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004381/0.8847, allocations: 0.6258 MB / 0.6438 GB, free: 2.051 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01312/0.8978, allocations: 1.947 MB / 0.6457 GB, free: 100 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007166/0.905, allocations: 1.307 MB / 0.647 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006212/0.9113, allocations: 1.855 MB / 0.6488 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002485/0.9138, allocations: 0.8381 MB / 0.6496 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003886/0.9177, allocations: 0.9886 MB / 0.6506 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001752/0.9195, allocations: 0.6027 MB / 0.6511 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002177/0.9197, allocations: 44 kB / 0.6512 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003685/0.9234, allocations: 0.9946 MB / 0.6522 GB, free: 9.461 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.9238, allocations: 199.1 kB / 0.6523 GB, free: 9.266 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005337/0.9243, allocations: 285.1 kB / 0.6526 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003377/0.9277, allocations: 1.594 MB / 0.6542 GB, free: 7.383 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9278, allocations: 0 / 0.6542 GB, free: 7.383 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.9278, allocations: 0 / 0.6542 GB, free: 7.383 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.279e-05/0.9278, allocations: 4 kB / 0.6542 GB, free: 7.379 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.004702/0.9325, allocations: 1.489 MB / 0.6556 GB, free: 5.832 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.9326, allocations: 8.031 kB / 0.6556 GB, free: 5.824 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002787/0.9329, allocations: 134.7 kB / 0.6558 GB, free: 5.684 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004514/0.9374, allocations: 0.5135 MB / 0.6563 GB, free: 5.168 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004165/0.9416, allocations: 1.055 MB / 0.6573 GB, free: 4.055 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006064/0.9423, allocations: 129.9 kB / 0.6574 GB, free: 3.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002566/0.9426, allocations: 80 kB / 0.6575 GB, free: 3.852 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004085/0.9467, allocations: 1.021 MB / 0.6585 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.705e-05/0.9467, allocations: 7.984 kB / 0.6585 GB, free: 2.789 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.9469, allocations: 28 kB / 0.6585 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.877e-05/0.9469, allocations: 20 kB / 0.6586 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004539/0.9515, allocations: 1.015 MB / 0.6595 GB, free: 1.727 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.01106/0.9626, allocations: 4.735 MB / 0.6642 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006787/0.9694, allocations: 1.128 MB / 0.6653 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/0.9709, allocations: 1.029 MB / 0.6663 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.971, allocations: 35 kB / 0.6663 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 3.948e-06/0.971, allocations: 0 / 0.6663 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.01714/0.9882, allocations: 2.49 MB / 0.6687 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.9883, allocations: 63.84 kB / 0.6688 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.9906, allocations: 0.9393 MB / 0.6697 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002129/0.9908, allocations: 41.7 kB / 0.6698 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006774/0.9915, allocations: 0.5001 MB / 0.6702 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000321/0.9919, allocations: 181.3 kB / 0.6704 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/0.9919, allocations: 19.94 kB / 0.6704 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.9921, allocations: 326 kB / 0.6707 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/0.9939, allocations: 376.9 kB / 0.6711 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.9959, allocations: 0.5356 MB / 0.6716 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.9976, allocations: 401.9 kB / 0.672 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.9976, allocations: 0 / 0.672 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004924/1.003, allocations: 1.131 MB / 0.6731 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005122/1.003, allocations: 0.9652 MB / 0.6741 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/1.003, allocations: 7.938 kB / 0.6741 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001989/1.005, allocations: 335.6 kB / 0.6744 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/1.006, allocations: 143.8 kB / 0.6745 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/1.009, allocations: 0.9348 MB / 0.6754 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/1.011, allocations: 179.2 kB / 0.6756 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/1.011, allocations: 27.98 kB / 0.6756 GB, free: 420 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/1.011, allocations: 4 kB / 0.6756 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004811/1.016, allocations: 1.005 MB / 0.6766 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.016, allocations: 320 / 0.6766 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001974/1.018, allocations: 324.6 kB / 0.6769 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/1.019, allocations: 147.8 kB / 0.6771 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/1.021, allocations: 0.9224 MB / 0.678 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/1.023, allocations: 175.4 kB / 0.6781 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/1.023, allocations: 31.94 kB / 0.6782 GB, free: 13.78 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.001153/1.024, allocations: 356.8 kB / 0.6785 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005917/1.025, allocations: 110.7 kB / 0.6786 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007677/1.033, allocations: 1.439 MB / 0.68 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.905e-05/1.033, allocations: 15.94 kB / 0.68 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/1.033, allocations: 0 / 0.68 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/1.033, allocations: 0 / 0.68 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006853/1.04, allocations: 2.53 MB / 0.6825 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/1.04, allocations: 0 / 0.6825 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/1.04, allocations: 120 kB / 0.6826 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/1.041, allocations: 320.5 kB / 0.6829 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/1.042, allocations: 15.98 kB / 0.6829 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/1.043, allocations: 0.9721 MB / 0.6839 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/1.043, allocations: 3.938 kB / 0.6839 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004573/1.048, allocations: 1.526 MB / 0.6854 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007167/1.048, allocations: 303.4 kB / 0.6857 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/1.049, allocations: 12 kB / 0.6857 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009738/1.05, allocations: 123.8 kB / 0.6858 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.737e-05/1.05, allocations: 36.39 kB / 0.6858 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.996e-05/1.05, allocations: 23.98 kB / 0.6859 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009641/1.051, allocations: 0.6674 MB / 0.6865 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/1.051, allocations: 3.938 kB / 0.6865 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001483/1.052, allocations: 0.5768 MB / 0.6871 GB, free: 4.438 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.005542/1.058, allocations: 2.747 MB / 0.6898 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003868/1.062, allocations: 1.389 MB / 0.6911 GB, free: 248 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.062, allocations: 0 / 0.6911 GB, free: 248 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/1.063, allocations: 488.9 kB / 0.6916 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/1.066, allocations: 0.4949 MB / 0.6921 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005356/1.071, allocations: 4.474 MB / 0.6964 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005834/1.071, allocations: 1.098 MB / 0.6975 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001014/1.073, allocations: 234.8 kB / 0.6977 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005453/1.073, allocations: 415.3 kB / 0.6981 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of SimCode: time 7.92e-07/1.073, allocations: 3.938 kB / 0.6981 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.025/2.098, allocations: 32.88 MB / 0.7302 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004148/2.099, allocations: 251.3 kB / 0.7305 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.465/6.563, allocations: 2.078 kB / 0.7305 GB, free: 8.238 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) Environment - environmentSimulation: