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.01217/0.01217, allocations: 101 kB / 15.88 MB, free: 5.867 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.00224/0.00224, allocations: 191.4 kB / 16.79 MB, free: 5.812 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.422/1.422, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9572/0.9572, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 64.81 kB / 0.5053 GB, free: 5.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1639, allocations: 80.93 MB / 0.5843 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.3704/0.5344, allocations: 60.82 MB / 0.6437 GB, free: 17.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0141/0.5486, allocations: 12.06 MB / 0.6555 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002771/0.5514, allocations: 51.19 kB / 0.6556 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.5536, allocations: 0.5522 MB / 0.6561 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005682/0.5593, allocations: 1.796 MB / 0.6579 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.5624, allocations: 1.075 MB / 0.6589 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005191/0.5676, allocations: 3.903 MB / 0.6627 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.5695, allocations: 0.9485 MB / 0.6636 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002928/0.5725, allocations: 1.148 MB / 0.6648 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/0.5744, allocations: 0.9134 MB / 0.6657 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002353/0.5746, allocations: 58.19 kB / 0.6657 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003434/0.5781, allocations: 1.346 MB / 0.667 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003843/0.5785, allocations: 238 kB / 0.6673 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.5797, allocations: 0.6415 MB / 0.6679 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003228/0.5829, allocations: 1.733 MB / 0.6696 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.5829, allocations: 5.188 kB / 0.6696 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5829, allocations: 0 / 0.6696 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.513e-05/0.583, allocations: 0 / 0.6696 GB, free: 2.336 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.003993/0.587, allocations: 1.731 MB / 0.6713 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.587, allocations: 13.62 kB / 0.6713 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002797/0.5898, allocations: 456.8 kB / 0.6717 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002655/0.5925, allocations: 1.141 MB / 0.6728 GB, free: 352 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003607/0.5929, allocations: 115.9 kB / 0.6729 GB, free: 320 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.5931, allocations: 84.97 kB / 0.673 GB, free: 292 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002482/0.5956, allocations: 1.006 MB / 0.674 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.5956, allocations: 1.094 kB / 0.674 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.97e-05/0.5957, allocations: 31.09 kB / 0.674 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.5957, allocations: 18.84 kB / 0.6741 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002928/0.5987, allocations: 0.9561 MB / 0.675 GB, free: 15.51 MB / 0.5137 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.007494/0.6062, allocations: 4.668 MB / 0.6795 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004238/0.6104, allocations: 1.012 MB / 0.6805 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.6116, allocations: 421.1 kB / 0.6809 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/0.6128, allocations: 1.014 MB / 0.6819 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.6128, allocations: 39.33 kB / 0.682 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.785e-06/0.6128, allocations: 0 / 0.682 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.01022/0.623, allocations: 2.233 MB / 0.6841 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.6231, allocations: 56.8 kB / 0.6842 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.6247, allocations: 0.9385 MB / 0.6851 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001446/0.6249, allocations: 38.3 kB / 0.6852 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004734/0.6254, allocations: 0.4968 MB / 0.6856 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.6256, allocations: 190.9 kB / 0.6858 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002601/0.6259, allocations: 127.2 kB / 0.6859 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.626, allocations: 329.9 kB / 0.6863 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.6271, allocations: 359.2 kB / 0.6866 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.6284, allocations: 0.5204 MB / 0.6871 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002091/0.6305, allocations: 0.7603 MB / 0.6878 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.6305, allocations: 0 / 0.6878 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003278/0.6338, allocations: 1.072 MB / 0.6889 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.6339, allocations: 6.562 kB / 0.6889 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.6339, allocations: 2.156 kB / 0.6889 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.6352, allocations: 313.8 kB / 0.6892 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006708/0.6359, allocations: 143.9 kB / 0.6893 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.6375, allocations: 0.9061 MB / 0.6902 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.639, allocations: 163.9 kB / 0.6904 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.6391, allocations: 36.38 kB / 0.6904 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001491/0.6406, allocations: 0.5556 MB / 0.691 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00119/0.6418, allocations: 0.5131 MB / 0.6915 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002013/0.6438, allocations: 0.7583 MB / 0.6922 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.837e-06/0.6438, allocations: 0 / 0.6922 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003227/0.6471, allocations: 1.066 MB / 0.6932 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.6471, allocations: 6.5 kB / 0.6932 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.6471, allocations: 3.156 kB / 0.6933 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.6483, allocations: 313.6 kB / 0.6936 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006552/0.6489, allocations: 131.6 kB / 0.6937 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.6504, allocations: 0.8998 MB / 0.6946 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.6519, allocations: 145.9 kB / 0.6947 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.104e-05/0.652, allocations: 36.08 kB / 0.6947 GB, free: 4.414 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 (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.0003036/0.6523, allocations: 220.2 kB / 0.6949 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/0.6526, allocations: 105.4 kB / 0.695 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004611/0.6572, allocations: 1.327 MB / 0.6963 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.6572, allocations: 8.094 kB / 0.6963 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6572, allocations: 1.156 kB / 0.6963 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.6572, allocations: 2.625 kB / 0.6963 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006248/0.6635, allocations: 2.416 MB / 0.6987 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.6635, allocations: 2.719 kB / 0.6987 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/0.6641, allocations: 103.6 kB / 0.6988 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/0.6652, allocations: 298.8 kB / 0.6991 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.034e-05/0.6652, allocations: 19.17 kB / 0.6991 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.6667, allocations: 0.9407 MB / 0.7 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.6668, allocations: 5.969 kB / 0.7 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004451/0.6712, allocations: 1.35 MB / 0.7014 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007005/0.6719, allocations: 278 kB / 0.7016 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.6721, allocations: 13.34 kB / 0.7016 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009638/0.6731, allocations: 110.3 kB / 0.7017 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.6732, allocations: 43.3 kB / 0.7018 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.851e-05/0.6733, allocations: 23.42 kB / 0.7018 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001004/0.6743, allocations: 0.6547 MB / 0.7024 GB, free: 136 kB / 0.5137 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6743, allocations: 4 kB / 0.7024 GB, free: 132 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00179/0.6761, allocations: 0.5713 MB / 0.703 GB, free: 0 / 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 (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.0009324/0.677, allocations: 384.3 kB / 0.7034 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003881/0.6809, allocations: 1.309 MB / 0.7046 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6809, allocations: 0 / 0.7046 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.6822, allocations: 456.4 kB / 0.7051 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/0.6847, allocations: 0.5031 MB / 0.7056 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/0.6889, allocations: 2.344 MB / 0.7079 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005953/0.6895, allocations: 1.064 MB / 0.7089 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/0.6898, allocations: 86.44 kB / 0.709 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of SimCode: time 7.11e-07/0.6898, allocations: 0 / 0.709 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.03265/0.7225, allocations: 24.03 MB / 0.7324 GB, free: 4.809 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)