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: translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.009593/0.009594, allocations: 105.3 kB / 15.74 MB, free: 6.441 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.001889/0.001889, allocations: 192.6 kB / 16.67 MB, free: 6.355 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7762/0.7762, allocations: 132.2 MB / 422.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.001401, allocations: 67.91 kB / 0.5814 GB, free: 7.527 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4911/0.4925, allocations: 80.19 MB / 0.6597 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06128/0.5539, allocations: 61.19 MB / 0.7194 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01757/0.5715, allocations: 11.98 MB / 0.7311 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002911/0.5744, allocations: 63.62 kB / 0.7312 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002491/0.5769, allocations: 0.7025 MB / 0.7319 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006702/0.5837, allocations: 2.058 MB / 0.7339 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003618/0.5874, allocations: 1.218 MB / 0.7351 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005376/0.5927, allocations: 3.099 MB / 0.7381 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002473/0.5952, allocations: 1.128 MB / 0.7392 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003964/0.5992, allocations: 1.357 MB / 0.7405 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/0.6014, allocations: 0.9152 MB / 0.7414 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004828/0.6019, allocations: 124 kB / 0.7415 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003944/0.6058, allocations: 1.439 MB / 0.7429 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006748/0.6065, allocations: 294.9 kB / 0.7432 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001995/0.6085, allocations: 0.6998 MB / 0.7439 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006341/0.6149, allocations: 2.328 MB / 0.7462 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.6149, allocations: 0 / 0.7462 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.675e-06/0.6149, allocations: 3.938 kB / 0.7462 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7e-05/0.615, allocations: 4 kB / 0.7462 GB, free: 13.38 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.004344/0.6194, allocations: 1.738 MB / 0.7479 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.6194, allocations: 8.031 kB / 0.7479 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002477/0.6219, allocations: 462.5 kB / 0.7483 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002759/0.6247, allocations: 1.171 MB / 0.7495 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.13e-05/0.6248, allocations: 65.94 kB / 0.7495 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.6249, allocations: 84 kB / 0.7496 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.6273, allocations: 0.9978 MB / 0.7506 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.6273, allocations: 4 kB / 0.7506 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.97e-05/0.6274, allocations: 28 kB / 0.7506 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.6274, allocations: 20 kB / 0.7506 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00253/0.63, allocations: 0.9445 MB / 0.7516 GB, free: 7.715 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.006992/0.637, allocations: 4.685 MB / 0.7561 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003663/0.6407, allocations: 0.9822 MB / 0.7571 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009665/0.6416, allocations: 413.9 kB / 0.7575 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009713/0.6426, allocations: 1.017 MB / 0.7585 GB, free: 48 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/0.6427, allocations: 46.98 kB / 0.7585 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.915e-06/0.6427, allocations: 0 / 0.7585 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.008615/0.6513, allocations: 2.162 MB / 0.7606 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.6514, allocations: 59.84 kB / 0.7607 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.653, allocations: 0.9432 MB / 0.7616 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.255e-05/0.6531, allocations: 37.7 kB / 0.7617 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004521/0.6536, allocations: 0.5001 MB / 0.7621 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.6538, allocations: 185.3 kB / 0.7623 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/0.6541, allocations: 126.1 kB / 0.7624 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.6542, allocations: 330 kB / 0.7628 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009621/0.6552, allocations: 354.9 kB / 0.7631 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.6563, allocations: 0.5116 MB / 0.7636 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/0.6582, allocations: 0.7541 MB / 0.7643 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.6582, allocations: 4 kB / 0.7643 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003013/0.6613, allocations: 1.056 MB / 0.7654 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.6613, allocations: 11.98 kB / 0.7654 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.6613, allocations: 4 kB / 0.7654 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/0.6627, allocations: 311.8 kB / 0.7657 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006177/0.6633, allocations: 127.8 kB / 0.7658 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.6647, allocations: 0.8957 MB / 0.7667 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.6659, allocations: 119.3 kB / 0.7668 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-05/0.666, allocations: 27.98 kB / 0.7668 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001284/0.6673, allocations: 0.5601 MB / 0.7674 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001073/0.6684, allocations: 0.5154 MB / 0.7679 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001797/0.6702, allocations: 0.7424 MB / 0.7686 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-06/0.6702, allocations: 0 / 0.7686 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00276/0.673, allocations: 1.049 MB / 0.7696 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.673, allocations: 4 kB / 0.7696 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.673, allocations: 7.938 kB / 0.7696 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.674, allocations: 296.5 kB / 0.7699 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.6747, allocations: 127.8 kB / 0.77 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.676, allocations: 0.8913 MB / 0.7709 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.677, allocations: 111.6 kB / 0.771 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-05/0.6771, allocations: 31.98 kB / 0.771 GB, free: 2.824 MB / 0.5919 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.0002734/0.6774, allocations: 216.1 kB / 0.7712 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/0.6777, allocations: 114.6 kB / 0.7714 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004215/0.6819, allocations: 1.311 MB / 0.7726 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.6819, allocations: 4 kB / 0.7726 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.517e-06/0.6819, allocations: 4 kB / 0.7726 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.682, allocations: 11.92 kB / 0.7727 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00573/0.6877, allocations: 2.404 MB / 0.775 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.6877, allocations: 192 / 0.775 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005303/0.6883, allocations: 107.8 kB / 0.7751 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009761/0.6892, allocations: 294.4 kB / 0.7754 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.34e-05/0.6893, allocations: 19.98 kB / 0.7754 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.6907, allocations: 0.923 MB / 0.7763 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.6907, allocations: 4.031 kB / 0.7763 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003889/0.6946, allocations: 1.323 MB / 0.7776 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005319/0.6951, allocations: 287.5 kB / 0.7779 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/0.6954, allocations: 15.98 kB / 0.7779 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009043/0.6963, allocations: 75.91 kB / 0.778 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.6964, allocations: 32.39 kB / 0.778 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.83e-05/0.6965, allocations: 31.91 kB / 0.778 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001096/0.6976, allocations: 0.6712 MB / 0.7787 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6976, allocations: 0 / 0.7787 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001837/0.6994, allocations: 0.5691 MB / 0.7792 GB, free: 10.24 MB / 0.6075 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.001074/0.7005, allocations: 395.6 kB / 0.7796 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003719/0.7042, allocations: 1.295 MB / 0.7809 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7043, allocations: 0 / 0.7809 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.7055, allocations: 456.8 kB / 0.7813 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/0.7076, allocations: 0.4912 MB / 0.7818 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/0.7118, allocations: 1.874 MB / 0.7836 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007356/0.7125, allocations: 1.074 MB / 0.7847 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009172/0.7135, allocations: 234 kB / 0.7849 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.7137, allocations: 79.41 kB / 0.785 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.7137, allocations: 0 / 0.785 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of Templates: time 0.0435/0.7572, allocations: 24.86 MB / 0.8093 GB, free: 11.78 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (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 & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)