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.0008778/0.0008779, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008853/0.0008854, allocations: 172.7 kB / 15.95 MB, free: 208 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.438/1.438, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7713/0.7713, allocations: 132.3 MB / 423.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003565, allocations: 13.42 kB / 0.5035 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5607/0.5611, allocations: 81.57 MB / 0.5831 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05935/0.6205, allocations: 56.51 MB / 0.6383 GB, free: 7.934 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01743/0.638, allocations: 11.2 MB / 0.6493 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002587/0.6406, allocations: 51.62 kB / 0.6493 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001818/0.6424, allocations: 460.8 kB / 0.6498 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005404/0.6478, allocations: 1.531 MB / 0.6513 GB, free: 10.67 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.6509, allocations: 0.8656 MB / 0.6521 GB, free: 9.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005152/0.6561, allocations: 3.393 MB / 0.6554 GB, free: 6.418 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001923/0.658, allocations: 0.8105 MB / 0.6562 GB, free: 5.582 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002835/0.6609, allocations: 1.042 MB / 0.6572 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.663, allocations: 0.8205 MB / 0.658 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004164/0.6634, allocations: 44 kB / 0.6581 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.6666, allocations: 1.091 MB / 0.6591 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004993/0.6671, allocations: 203 kB / 0.6593 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008348/0.6679, allocations: 285 kB / 0.6596 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.6705, allocations: 1.645 MB / 0.6612 GB, free: 452 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.6706, allocations: 0 / 0.6612 GB, free: 452 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6706, allocations: 0 / 0.6612 GB, free: 452 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.327e-05/0.6706, allocations: 0 / 0.6612 GB, free: 452 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002729/0.6733, allocations: 1.52 MB / 0.6627 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.6734, allocations: 8.031 kB / 0.6627 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.6736, allocations: 122.8 kB / 0.6628 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/0.6758, allocations: 0.5135 MB / 0.6633 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.6779, allocations: 1.09 MB / 0.6644 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/0.6782, allocations: 129.9 kB / 0.6645 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.6783, allocations: 84 kB / 0.6646 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.6803, allocations: 1.029 MB / 0.6656 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.6803, allocations: 4 kB / 0.6656 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.275e-05/0.6804, allocations: 28 kB / 0.6656 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.6804, allocations: 20 kB / 0.6656 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002323/0.6827, allocations: 1.015 MB / 0.6666 GB, free: 10.73 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.005958/0.6887, allocations: 4.708 MB / 0.6712 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003662/0.6924, allocations: 1.125 MB / 0.6723 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009882/0.6934, allocations: 441.9 kB / 0.6727 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009011/0.6943, allocations: 1.029 MB / 0.6737 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.6943, allocations: 43 kB / 0.6738 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.214e-06/0.6944, allocations: 0 / 0.6738 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.008595/0.703, allocations: 2.49 MB / 0.6762 GB, free: 280 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.703, allocations: 55.84 kB / 0.6763 GB, free: 212 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.7044, allocations: 0.9314 MB / 0.6772 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.802e-05/0.7045, allocations: 37.7 kB / 0.6772 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/0.7049, allocations: 0.4963 MB / 0.6777 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.7051, allocations: 193.2 kB / 0.6779 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.7051, allocations: 8 kB / 0.6779 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.7052, allocations: 334 kB / 0.6782 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000935/0.7062, allocations: 380.8 kB / 0.6786 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.7072, allocations: 0.5356 MB / 0.6791 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009659/0.7082, allocations: 401.9 kB / 0.6795 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.7082, allocations: 4 kB / 0.6795 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00265/0.7109, allocations: 1.127 MB / 0.6806 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.595e-05/0.711, allocations: 160.4 kB / 0.6807 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.711, allocations: 4 kB / 0.6807 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.7122, allocations: 324.6 kB / 0.6811 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005936/0.7128, allocations: 143.8 kB / 0.6812 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.7141, allocations: 0.9386 MB / 0.6821 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.7152, allocations: 179.3 kB / 0.6823 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.452e-05/0.7153, allocations: 31.92 kB / 0.6823 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.7153, allocations: 4 kB / 0.6823 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002374/0.7177, allocations: 1.001 MB / 0.6833 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7177, allocations: 0 / 0.6833 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009944/0.7187, allocations: 327.4 kB / 0.6836 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/0.7193, allocations: 143.8 kB / 0.6837 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.7206, allocations: 0.927 MB / 0.6846 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.7217, allocations: 175.4 kB / 0.6848 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.147e-05/0.7218, allocations: 31.98 kB / 0.6848 GB, free: 7.227 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.0005216/0.7223, allocations: 349 kB / 0.6852 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.7225, allocations: 106.7 kB / 0.6853 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00409/0.7266, allocations: 1.445 MB / 0.6867 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.7267, allocations: 7.938 kB / 0.6867 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.7267, allocations: 0 / 0.6867 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.7267, allocations: 7.984 kB / 0.6867 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005582/0.7323, allocations: 2.518 MB / 0.6892 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.7323, allocations: 0 / 0.6892 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/0.7328, allocations: 115.9 kB / 0.6893 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009301/0.7338, allocations: 318.7 kB / 0.6896 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.913e-05/0.7338, allocations: 19.98 kB / 0.6896 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.7352, allocations: 0.9794 MB / 0.6906 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7352, allocations: 0 / 0.6906 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003842/0.739, allocations: 1.449 MB / 0.692 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/0.7396, allocations: 295.4 kB / 0.6923 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.7398, allocations: 12 kB / 0.6923 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009804/0.7408, allocations: 123.8 kB / 0.6924 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/0.7409, allocations: 40.34 kB / 0.6924 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.417e-05/0.741, allocations: 27.98 kB / 0.6924 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001069/0.742, allocations: 0.6518 MB / 0.6931 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.413e-06/0.742, allocations: 3.938 kB / 0.6931 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001706/0.7438, allocations: 0.569 MB / 0.6936 GB, free: 14.03 MB / 0.5294 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.004812/0.7486, allocations: 2.259 MB / 0.6958 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003687/0.7523, allocations: 1.385 MB / 0.6972 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.7523, allocations: 0 / 0.6972 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.7535, allocations: 484.9 kB / 0.6977 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/0.756, allocations: 0.5076 MB / 0.6982 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/0.7711, allocations: 6.739 MB / 0.7047 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007457/0.7719, allocations: 1.063 MB / 0.7058 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001174/0.773, allocations: 234.5 kB / 0.706 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006159/0.7737, allocations: 411.3 kB / 0.7064 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of SimCode: time 1.233e-06/0.7737, allocations: 0 / 0.7064 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05758/0.8313, allocations: 33.16 MB / 0.7388 GB, free: 24 kB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/0.8315, allocations: 254.2 kB / 0.739 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.461/3.292, allocations: 0 / 0.739 GB, free: 15.68 MB / 0.5762 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: