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.00162/0.00162, allocations: 107.3 kB / 16.41 MB, free: 6.504 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.001296/0.001296, allocations: 181.8 kB / 17.34 MB, free: 5.727 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8537/0.8537, allocations: 135.2 MB / 426.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 64.88 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1719, allocations: 80.92 MB / 0.6654 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06869/0.2406, allocations: 61.3 MB / 0.7252 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01879/0.2594, allocations: 12 MB / 0.7369 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002617/0.262, allocations: 63.56 kB / 0.737 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002413/0.2644, allocations: 0.7025 MB / 0.7377 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006582/0.271, allocations: 2.068 MB / 0.7397 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003626/0.2746, allocations: 1.217 MB / 0.7409 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005474/0.2801, allocations: 3.075 MB / 0.7439 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.2818, allocations: 0.9323 MB / 0.7448 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003474/0.2853, allocations: 1.363 MB / 0.7461 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.2869, allocations: 0.9199 MB / 0.747 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.2871, allocations: 124 kB / 0.7472 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003038/0.2901, allocations: 1.443 MB / 0.7486 GB, free: 248 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.3852/0.6753, allocations: 302.1 kB / 0.7489 GB, free: 23.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.6768, allocations: 0.698 MB / 0.7495 GB, free: 23.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005292/0.6821, allocations: 2.34 MB / 0.7518 GB, free: 23.05 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.6821, allocations: 1.062 kB / 0.7518 GB, free: 23.05 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6821, allocations: 0 / 0.7518 GB, free: 23.05 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.125e-05/0.6821, allocations: 0 / 0.7518 GB, free: 23.05 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.004019/0.6861, allocations: 1.788 MB / 0.7536 GB, free: 22.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.6862, allocations: 10.7 kB / 0.7536 GB, free: 22.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002657/0.6888, allocations: 466 kB / 0.754 GB, free: 22.01 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002623/0.6914, allocations: 1.182 MB / 0.7552 GB, free: 21.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/0.6915, allocations: 64.83 kB / 0.7552 GB, free: 21.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.6916, allocations: 81.59 kB / 0.7553 GB, free: 21.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.6941, allocations: 1 MB / 0.7563 GB, free: 21.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.6941, allocations: 0 / 0.7563 GB, free: 21.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.464e-05/0.6942, allocations: 31.38 kB / 0.7563 GB, free: 21.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.6942, allocations: 23.39 kB / 0.7563 GB, free: 21.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002765/0.697, allocations: 0.9428 MB / 0.7573 GB, free: 21.48 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.007225/0.7042, allocations: 4.674 MB / 0.7618 GB, free: 19.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004356/0.7085, allocations: 0.9552 MB / 0.7628 GB, free: 19.05 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.7096, allocations: 385.5 kB / 0.7631 GB, free: 19.03 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000799/0.7104, allocations: 1.019 MB / 0.7641 GB, free: 17.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.7105, allocations: 43.59 kB / 0.7642 GB, free: 17.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.645e-06/0.7105, allocations: 0 / 0.7642 GB, free: 17.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.009476/0.7199, allocations: 2.165 MB / 0.7663 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.72, allocations: 57.19 kB / 0.7663 GB, free: 17.53 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.7215, allocations: 0.9521 MB / 0.7673 GB, free: 17.37 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.7216, allocations: 39.77 kB / 0.7673 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.722, allocations: 0.5061 MB / 0.7678 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.7222, allocations: 197.5 kB / 0.768 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.7224, allocations: 129.5 kB / 0.7681 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.899e-05/0.7225, allocations: 326.6 kB / 0.7684 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.7235, allocations: 355.2 kB / 0.7688 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.7246, allocations: 0.5182 MB / 0.7693 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/0.7266, allocations: 0.7549 MB / 0.77 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.7266, allocations: 0 / 0.77 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002889/0.7295, allocations: 1.053 MB / 0.771 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.7295, allocations: 14.22 kB / 0.771 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.7295, allocations: 2.469 kB / 0.771 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.7307, allocations: 298.2 kB / 0.7713 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006113/0.7313, allocations: 135.8 kB / 0.7715 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.7326, allocations: 0.8945 MB / 0.7723 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.7337, allocations: 121.1 kB / 0.7725 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.031e-05/0.7338, allocations: 32.84 kB / 0.7725 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001381/0.7352, allocations: 0.5524 MB / 0.773 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001086/0.7363, allocations: 0.5132 MB / 0.7735 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001831/0.7381, allocations: 0.7453 MB / 0.7743 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.757e-06/0.7381, allocations: 1.156 kB / 0.7743 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002795/0.7409, allocations: 1.046 MB / 0.7753 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.7409, allocations: 7.5 kB / 0.7753 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.7409, allocations: 2.625 kB / 0.7753 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.7419, allocations: 300.8 kB / 0.7756 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/0.7425, allocations: 133.1 kB / 0.7757 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.7437, allocations: 0.8961 MB / 0.7766 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.7449, allocations: 110.5 kB / 0.7767 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-05/0.745, allocations: 28.41 kB / 0.7767 GB, free: 14.58 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.0002627/0.7453, allocations: 215.1 kB / 0.7769 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.7455, allocations: 114 kB / 0.777 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004257/0.7497, allocations: 1.302 MB / 0.7783 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.7498, allocations: 7.688 kB / 0.7783 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.7498, allocations: 1.094 kB / 0.7783 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.7498, allocations: 7.891 kB / 0.7783 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005857/0.7556, allocations: 2.397 MB / 0.7806 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.7556, allocations: 6.125 kB / 0.7807 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005314/0.7562, allocations: 107 kB / 0.7808 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009425/0.7571, allocations: 292.4 kB / 0.781 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.634e-05/0.7572, allocations: 21.53 kB / 0.7811 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.7584, allocations: 0.9199 MB / 0.782 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7584, allocations: 3.531 kB / 0.782 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003998/0.7624, allocations: 1.326 MB / 0.7833 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005522/0.763, allocations: 285.5 kB / 0.7835 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.7631, allocations: 13.78 kB / 0.7835 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007937/0.7639, allocations: 78.77 kB / 0.7836 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.228e-05/0.764, allocations: 44.05 kB / 0.7837 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.634e-05/0.7641, allocations: 26.27 kB / 0.7837 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009973/0.7651, allocations: 0.6627 MB / 0.7843 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7651, allocations: 0 / 0.7843 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001654/0.7667, allocations: 0.5825 MB / 0.7849 GB, free: 12.57 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.0008336/0.7676, allocations: 380.8 kB / 0.7853 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003574/0.7711, allocations: 1.258 MB / 0.7865 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.7711, allocations: 3.797 kB / 0.7865 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.7723, allocations: 432.9 kB / 0.7869 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/0.7746, allocations: 0.4934 MB / 0.7874 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.7782, allocations: 1.95 MB / 0.7893 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.7786, allocations: 1.065 MB / 0.7903 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.7789, allocations: 88.33 kB / 0.7904 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/0.7789, allocations: 0 / 0.7904 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of Templates: time 0.02989/0.8088, allocations: 24.22 MB / 0.8141 GB, free: 10.88 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)