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.001212/0.001212, allocations: 110.5 kB / 16.38 MB, free: 6.004 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.001198/0.001198, allocations: 191.2 kB / 17.32 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7396/0.7396, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 60.5 kB / 0.5862 GB, free: 21.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1307, allocations: 80.92 MB / 0.6653 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05186/0.1826, allocations: 61.19 MB / 0.725 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01424/0.1968, allocations: 11.99 MB / 0.7367 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.1985, allocations: 59.62 kB / 0.7368 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.2, allocations: 0.6752 MB / 0.7374 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004351/0.2044, allocations: 1.963 MB / 0.7394 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002597/0.207, allocations: 1.209 MB / 0.7405 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003403/0.2104, allocations: 3.083 MB / 0.7435 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.2118, allocations: 1.131 MB / 0.7446 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/0.2144, allocations: 1.328 MB / 0.7459 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.2155, allocations: 0.9178 MB / 0.7468 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.2157, allocations: 120 kB / 0.747 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/0.2181, allocations: 1.447 MB / 0.7484 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00026/0.2184, allocations: 306.8 kB / 0.7487 GB, free: 224 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.312/0.5304, allocations: 0.6889 MB / 0.7493 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004078/0.5345, allocations: 2.326 MB / 0.7516 GB, free: 23.22 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5345, allocations: 0 / 0.7516 GB, free: 23.22 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5346, allocations: 1.641 kB / 0.7516 GB, free: 23.22 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.181e-05/0.5346, allocations: 0 / 0.7516 GB, free: 23.22 MB / 0.5762 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.003004/0.5376, allocations: 1.735 MB / 0.7533 GB, free: 22.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.5376, allocations: 13 kB / 0.7533 GB, free: 22.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/0.54, allocations: 454.1 kB / 0.7537 GB, free: 22.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.5421, allocations: 1.177 MB / 0.7549 GB, free: 21.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.269e-05/0.5421, allocations: 62.53 kB / 0.755 GB, free: 21.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.5423, allocations: 83.81 kB / 0.755 GB, free: 21.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.5444, allocations: 0.999 MB / 0.756 GB, free: 21.78 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.5444, allocations: 1.125 kB / 0.756 GB, free: 21.78 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.477e-05/0.5445, allocations: 35.31 kB / 0.756 GB, free: 21.78 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.5446, allocations: 27.33 kB / 0.7561 GB, free: 21.78 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/0.5472, allocations: 0.9374 MB / 0.757 GB, free: 21.76 MB / 0.5762 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.006362/0.5536, allocations: 4.659 MB / 0.7615 GB, free: 19.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004162/0.5577, allocations: 0.9924 MB / 0.7625 GB, free: 19.33 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.5588, allocations: 410 kB / 0.7629 GB, free: 19.31 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007246/0.5595, allocations: 1.019 MB / 0.7639 GB, free: 18.19 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.5596, allocations: 37.62 kB / 0.7639 GB, free: 18.15 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.394e-06/0.5596, allocations: 0 / 0.7639 GB, free: 18.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.009121/0.5687, allocations: 2.158 MB / 0.766 GB, free: 17.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.5688, allocations: 60.81 kB / 0.7661 GB, free: 17.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.5702, allocations: 0.9512 MB / 0.767 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.852e-05/0.5703, allocations: 39.33 kB / 0.7671 GB, free: 17.63 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.5706, allocations: 0.5044 MB / 0.7676 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.5708, allocations: 185.6 kB / 0.7677 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.571, allocations: 126.9 kB / 0.7678 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.548e-05/0.571, allocations: 326.6 kB / 0.7682 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009767/0.572, allocations: 360 kB / 0.7685 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.5731, allocations: 0.515 MB / 0.769 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.575, allocations: 0.7491 MB / 0.7697 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5751, allocations: 8.344 kB / 0.7697 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002853/0.5779, allocations: 1.049 MB / 0.7708 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.578, allocations: 14.34 kB / 0.7708 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.578, allocations: 2.562 kB / 0.7708 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/0.5791, allocations: 300.3 kB / 0.7711 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005987/0.5797, allocations: 135.3 kB / 0.7712 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.581, allocations: 0.8939 MB / 0.7721 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.5821, allocations: 123.2 kB / 0.7722 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.442e-05/0.5821, allocations: 33.64 kB / 0.7722 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001355/0.5835, allocations: 0.5559 MB / 0.7728 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00104/0.5846, allocations: 0.5089 MB / 0.7733 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001859/0.5864, allocations: 0.7495 MB / 0.774 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.977e-06/0.5864, allocations: 1.094 kB / 0.774 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00279/0.5892, allocations: 1.05 MB / 0.775 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.5893, allocations: 5.938 kB / 0.775 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5893, allocations: 3.719 kB / 0.775 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.5903, allocations: 299.9 kB / 0.7753 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.5909, allocations: 134.4 kB / 0.7754 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.5921, allocations: 0.8867 MB / 0.7763 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.5932, allocations: 116 kB / 0.7764 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/0.5933, allocations: 28.88 kB / 0.7764 GB, free: 14.88 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002294/0.5935, allocations: 210.7 kB / 0.7767 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.5937, allocations: 110.3 kB / 0.7768 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004317/0.598, allocations: 1.307 MB / 0.778 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.5981, allocations: 7.609 kB / 0.778 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.5981, allocations: 1.219 kB / 0.778 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.5981, allocations: 6.859 kB / 0.778 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005539/0.6036, allocations: 2.413 MB / 0.7804 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.6037, allocations: 4.938 kB / 0.7804 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005179/0.6042, allocations: 108.3 kB / 0.7805 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008963/0.6051, allocations: 291 kB / 0.7808 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.747e-05/0.6051, allocations: 16.38 kB / 0.7808 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.6063, allocations: 0.9237 MB / 0.7817 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.6063, allocations: 5.938 kB / 0.7817 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00383/0.6102, allocations: 1.323 MB / 0.783 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004701/0.6106, allocations: 285 kB / 0.7833 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.6108, allocations: 10.94 kB / 0.7833 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007981/0.6116, allocations: 76.62 kB / 0.7834 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/0.6117, allocations: 48.66 kB / 0.7834 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/0.6117, allocations: 23.11 kB / 0.7834 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008256/0.6126, allocations: 0.668 MB / 0.7841 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6126, allocations: 0 / 0.7841 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001618/0.6142, allocations: 0.5715 MB / 0.7846 GB, free: 12.9 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007719/0.615, allocations: 381 kB / 0.785 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003412/0.6184, allocations: 1.309 MB / 0.7863 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.6184, allocations: 0 / 0.7863 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.6195, allocations: 459.8 kB / 0.7867 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.6217, allocations: 498.7 kB / 0.7872 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003414/0.6251, allocations: 1.92 MB / 0.7891 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.6256, allocations: 1.063 MB / 0.7901 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.6258, allocations: 90.72 kB / 0.7902 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.6258, allocations: 0 / 0.7902 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.02511/0.651, allocations: 24.01 MB / 0.8136 GB, free: 11.29 MB / 0.5919 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)