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.005366/0.005366, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001133/0.001133, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8582/0.8582, allocations: 135.1 MB / 425.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 65.98 kB / 0.5856 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.156, allocations: 80.92 MB / 0.6646 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05519/0.2112, allocations: 61.19 MB / 0.7244 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01649/0.2278, allocations: 11.98 MB / 0.7361 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002518/0.2303, allocations: 55.69 kB / 0.7361 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001764/0.2321, allocations: 0.6986 MB / 0.7368 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005409/0.2376, allocations: 2.064 MB / 0.7388 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002908/0.2405, allocations: 1.221 MB / 0.74 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003989/0.2445, allocations: 3.098 MB / 0.7431 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.2463, allocations: 1.128 MB / 0.7442 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003171/0.2495, allocations: 1.365 MB / 0.7455 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.2509, allocations: 0.9216 MB / 0.7464 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001852/0.2511, allocations: 120 kB / 0.7465 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00272/0.2538, allocations: 1.443 MB / 0.7479 GB, free: 224 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.4015/0.6553, allocations: 294.5 kB / 0.7482 GB, free: 23.51 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001502/0.6569, allocations: 0.7017 MB / 0.7489 GB, free: 23.51 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004997/0.6619, allocations: 2.331 MB / 0.7512 GB, free: 23.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.6619, allocations: 4.594 kB / 0.7512 GB, free: 23.46 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6619, allocations: 0 / 0.7512 GB, free: 23.46 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.524e-05/0.6619, allocations: 0 / 0.7512 GB, free: 23.46 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.003609/0.6656, allocations: 1.736 MB / 0.7529 GB, free: 22.6 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.6656, allocations: 12.7 kB / 0.7529 GB, free: 22.6 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002681/0.6683, allocations: 455.3 kB / 0.7533 GB, free: 22.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002436/0.6708, allocations: 1.172 MB / 0.7545 GB, free: 22.15 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.799e-05/0.6708, allocations: 61.22 kB / 0.7545 GB, free: 22.15 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.671, allocations: 83.94 kB / 0.7546 GB, free: 22.15 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.6733, allocations: 0.9978 MB / 0.7556 GB, free: 22.03 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.6734, allocations: 6 kB / 0.7556 GB, free: 22.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.07e-05/0.6735, allocations: 31.28 kB / 0.7556 GB, free: 22.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.6735, allocations: 19.19 kB / 0.7556 GB, free: 22.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002691/0.6762, allocations: 0.9441 MB / 0.7565 GB, free: 22 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.006884/0.6831, allocations: 4.664 MB / 0.7611 GB, free: 19.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004496/0.6876, allocations: 0.9818 MB / 0.7621 GB, free: 19.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.6887, allocations: 411.7 kB / 0.7624 GB, free: 19.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008145/0.6895, allocations: 1.022 MB / 0.7634 GB, free: 18.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.6896, allocations: 38.3 kB / 0.7635 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.194e-06/0.6896, allocations: 4 kB / 0.7635 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.01001/0.6996, allocations: 2.155 MB / 0.7656 GB, free: 18.12 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.6997, allocations: 61.44 kB / 0.7657 GB, free: 18.06 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.7012, allocations: 0.9519 MB / 0.7666 GB, free: 17.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.72e-05/0.7013, allocations: 38.33 kB / 0.7666 GB, free: 17.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.7017, allocations: 0.4998 MB / 0.7671 GB, free: 17.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.7019, allocations: 184.5 kB / 0.7673 GB, free: 17.58 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.7021, allocations: 129.5 kB / 0.7674 GB, free: 17.56 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.863e-05/0.7022, allocations: 326.5 kB / 0.7677 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.7032, allocations: 360.2 kB / 0.7681 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.7044, allocations: 0.5155 MB / 0.7686 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/0.7065, allocations: 0.7508 MB / 0.7693 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7065, allocations: 1.219 kB / 0.7693 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002905/0.7094, allocations: 1.056 MB / 0.7703 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.7094, allocations: 9.75 kB / 0.7703 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.7095, allocations: 2.688 kB / 0.7703 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/0.7107, allocations: 302.5 kB / 0.7706 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006315/0.7113, allocations: 136.5 kB / 0.7708 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.7126, allocations: 0.8964 MB / 0.7716 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.7139, allocations: 122.1 kB / 0.7718 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.986e-05/0.7139, allocations: 27.81 kB / 0.7718 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00138/0.7153, allocations: 0.5548 MB / 0.7723 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001074/0.7164, allocations: 0.5102 MB / 0.7728 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001941/0.7184, allocations: 0.7479 MB / 0.7735 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.646e-06/0.7184, allocations: 1.062 kB / 0.7735 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002994/0.7214, allocations: 1.048 MB / 0.7746 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.7214, allocations: 6.062 kB / 0.7746 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.7214, allocations: 8.984 kB / 0.7746 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.7225, allocations: 290.7 kB / 0.7749 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006079/0.7232, allocations: 136.6 kB / 0.775 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.7244, allocations: 0.8935 MB / 0.7759 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.7257, allocations: 113.8 kB / 0.776 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.734e-05/0.7258, allocations: 29.59 kB / 0.776 GB, free: 15.12 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.0002395/0.726, allocations: 215.9 kB / 0.7762 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.7262, allocations: 109.5 kB / 0.7763 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00446/0.7307, allocations: 1.308 MB / 0.7776 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.7307, allocations: 8.688 kB / 0.7776 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.7307, allocations: 1.188 kB / 0.7776 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.7307, allocations: 3.703 kB / 0.7776 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006153/0.7369, allocations: 2.409 MB / 0.78 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.7369, allocations: 5.25 kB / 0.78 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000534/0.7375, allocations: 107.1 kB / 0.7801 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009595/0.7384, allocations: 286.7 kB / 0.7803 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/0.7385, allocations: 24.69 kB / 0.7804 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.7398, allocations: 0.9197 MB / 0.7813 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.7398, allocations: 6.375 kB / 0.7813 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00407/0.7438, allocations: 1.323 MB / 0.7826 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005486/0.7444, allocations: 281.7 kB / 0.7828 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000235/0.7447, allocations: 15.69 kB / 0.7828 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009639/0.7456, allocations: 74.03 kB / 0.7829 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.7457, allocations: 43.27 kB / 0.783 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/0.7458, allocations: 24.44 kB / 0.783 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001127/0.747, allocations: 0.6629 MB / 0.7836 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.747, allocations: 3.75 kB / 0.7836 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001973/0.7489, allocations: 0.5723 MB / 0.7842 GB, free: 13.14 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.0009671/0.7499, allocations: 393.5 kB / 0.7846 GB, free: 13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003655/0.7536, allocations: 1.299 MB / 0.7858 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.7536, allocations: 0 / 0.7858 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.7548, allocations: 462 kB / 0.7863 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.757, allocations: 0.4897 MB / 0.7867 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/0.7607, allocations: 1.882 MB / 0.7886 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/0.7612, allocations: 1.065 MB / 0.7896 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009348/0.7622, allocations: 232.9 kB / 0.7898 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/0.7624, allocations: 85.66 kB / 0.7899 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.7624, allocations: 0 / 0.7899 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of Templates: time 0.03928/0.8017, allocations: 24.87 MB / 0.8142 GB, free: 10.38 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)