Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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: translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 91.06 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.001813/0.001813, 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.47/1.47, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.017/1.017, allocations: 135.3 MB / 426.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003606, allocations: 8 kB / 0.507 GB, free: 5.086 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2021, allocations: 82.31 MB / 0.5874 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.4005/0.6026, allocations: 56.48 MB / 0.6425 GB, free: 20.15 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01382/0.6165, allocations: 11.22 MB / 0.6535 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002321/0.6189, allocations: 54.44 kB / 0.6535 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.6206, allocations: 460.2 kB / 0.654 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005466/0.6261, allocations: 1.518 MB / 0.6555 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002839/0.629, allocations: 0.8649 MB / 0.6563 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00475/0.6337, allocations: 3.397 MB / 0.6596 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.6351, allocations: 0.8054 MB / 0.6604 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002252/0.6374, allocations: 1.041 MB / 0.6614 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.6389, allocations: 0.815 MB / 0.6622 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.639, allocations: 44.72 kB / 0.6623 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002689/0.6417, allocations: 1.093 MB / 0.6633 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.642, allocations: 203.6 kB / 0.6635 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004505/0.6424, allocations: 281.7 kB / 0.6638 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002696/0.6451, allocations: 1.648 MB / 0.6654 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6452, allocations: 4 kB / 0.6654 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6452, allocations: 0 / 0.6654 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.662e-05/0.6452, allocations: 0 / 0.6654 GB, free: 6.922 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003184/0.6484, allocations: 1.505 MB / 0.6669 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.6484, allocations: 10.61 kB / 0.6669 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002534/0.651, allocations: 0.513 MB / 0.6674 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002305/0.6533, allocations: 1.092 MB / 0.6685 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003603/0.6537, allocations: 136.8 kB / 0.6686 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.6538, allocations: 79.69 kB / 0.6687 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002415/0.6562, allocations: 1.035 MB / 0.6697 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.6563, allocations: 5.062 kB / 0.6697 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-05/0.6564, allocations: 30.66 kB / 0.6697 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.6564, allocations: 19.62 kB / 0.6697 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002707/0.6591, allocations: 1.006 MB / 0.6707 GB, free: 4.277 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.006654/0.6658, allocations: 4.709 MB / 0.6753 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003929/0.6697, allocations: 1.128 MB / 0.6764 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.6708, allocations: 441.1 kB / 0.6768 GB, free: 392 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/0.6719, allocations: 1.03 MB / 0.6778 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.672, allocations: 42.75 kB / 0.6779 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.475e-06/0.672, allocations: 0 / 0.6779 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.009677/0.6817, allocations: 2.49 MB / 0.6803 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.6818, allocations: 61.28 kB / 0.6804 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/0.6836, allocations: 0.9256 MB / 0.6813 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.6837, allocations: 38.48 kB / 0.6813 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005283/0.6843, allocations: 0.5034 MB / 0.6818 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.6845, allocations: 180.5 kB / 0.682 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.6846, allocations: 9.688 kB / 0.682 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.6847, allocations: 334.7 kB / 0.6823 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.6858, allocations: 372.9 kB / 0.6826 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.687, allocations: 0.5437 MB / 0.6832 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.6881, allocations: 404.8 kB / 0.6836 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6881, allocations: 4.969 kB / 0.6836 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003071/0.6912, allocations: 1.123 MB / 0.6847 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.6913, allocations: 165.6 kB / 0.6848 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.6914, allocations: 3.391 kB / 0.6848 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.6927, allocations: 328.4 kB / 0.6851 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006866/0.6934, allocations: 146.2 kB / 0.6853 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.695, allocations: 0.9321 MB / 0.6862 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.6965, allocations: 174.6 kB / 0.6864 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.853e-05/0.6966, allocations: 28.5 kB / 0.6864 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.6966, allocations: 3.562 kB / 0.6864 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002787/0.6994, allocations: 1.012 MB / 0.6874 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.6994, allocations: 2.469 kB / 0.6874 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.7005, allocations: 328 kB / 0.6877 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/0.7012, allocations: 140.9 kB / 0.6878 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.7026, allocations: 0.9317 MB / 0.6887 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.7041, allocations: 173.8 kB / 0.6889 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.873e-05/0.7041, allocations: 28.61 kB / 0.6889 GB, free: 10.16 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.0007848/0.7049, allocations: 355 kB / 0.6893 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.7051, allocations: 106.5 kB / 0.6894 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004566/0.7097, allocations: 1.44 MB / 0.6908 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.7097, allocations: 6.328 kB / 0.6908 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.7098, allocations: 4.984 kB / 0.6908 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.7098, allocations: 2.672 kB / 0.6908 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006228/0.716, allocations: 2.519 MB / 0.6932 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.425e-06/0.716, allocations: 2.125 kB / 0.6933 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005493/0.7166, allocations: 116.9 kB / 0.6934 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/0.7177, allocations: 336.3 kB / 0.6937 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.181e-05/0.7177, allocations: 12.86 kB / 0.6937 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/0.7193, allocations: 0.9648 MB / 0.6946 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.7193, allocations: 6.312 kB / 0.6946 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00435/0.7236, allocations: 1.456 MB / 0.6961 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008367/0.7245, allocations: 291.9 kB / 0.6963 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.7247, allocations: 15.03 kB / 0.6964 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009437/0.7256, allocations: 121.4 kB / 0.6965 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.7257, allocations: 40.94 kB / 0.6965 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-05/0.7258, allocations: 24.02 kB / 0.6965 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001174/0.727, allocations: 0.6542 MB / 0.6972 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.727, allocations: 0 / 0.6972 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001993/0.729, allocations: 0.5704 MB / 0.6977 GB, free: 6.117 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.0008488/0.7298, allocations: 365.5 kB / 0.6981 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003799/0.7337, allocations: 1.388 MB / 0.6994 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.7337, allocations: 5.094 kB / 0.6994 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.7349, allocations: 492.9 kB / 0.6999 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00264/0.7376, allocations: 0.4925 MB / 0.7004 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004872/0.7425, allocations: 2.328 MB / 0.7027 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000691/0.7432, allocations: 1.067 MB / 0.7037 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001173/0.7444, allocations: 240.2 kB / 0.7039 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.7446, allocations: 75.66 kB / 0.704 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of SimCode: time 8.91e-07/0.7446, allocations: 0 / 0.704 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of Templates: time 0.04013/0.7847, allocations: 23.02 MB / 0.7265 GB, free: 13.43 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)