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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8602/0.8602, allocations: 134 MB / 438.5 MB, free: 13.69 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.89 kB / 0.6084 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5116/0.5136, allocations: 84.67 MB / 0.691 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.07267/0.5862, allocations: 62.23 MB / 0.7518 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02027/0.6065, allocations: 12.06 MB / 0.7636 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004302/0.6108, allocations: 63.62 kB / 0.7637 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003443/0.6143, allocations: 0.6986 MB / 0.7643 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009233/0.6235, allocations: 2.072 MB / 0.7664 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004912/0.6284, allocations: 1.216 MB / 0.7675 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007083/0.6355, allocations: 3.102 MB / 0.7706 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/0.6377, allocations: 0.9007 MB / 0.7715 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004727/0.6424, allocations: 1.366 MB / 0.7728 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002353/0.6448, allocations: 0.9489 MB / 0.7737 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003103/0.6451, allocations: 120 kB / 0.7738 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00427/0.6493, allocations: 1.466 MB / 0.7753 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004741/0.6498, allocations: 302.7 kB / 0.7756 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.6512, allocations: 0.7036 MB / 0.7762 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004629/0.6558, allocations: 2.344 MB / 0.7785 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6558, allocations: 0 / 0.7785 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6558, allocations: 4 kB / 0.7785 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.147e-05/0.6558, allocations: 0 / 0.7785 GB, free: 12.36 MB / 0.5919 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.003633/0.6594, allocations: 1.788 MB / 0.7803 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.6595, allocations: 8.031 kB / 0.7803 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/0.662, allocations: 467.3 kB / 0.7807 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002428/0.6644, allocations: 1.176 MB / 0.7819 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.019e-05/0.6645, allocations: 69.94 kB / 0.7819 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.6646, allocations: 83.94 kB / 0.782 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/0.6669, allocations: 0.9978 MB / 0.783 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.6669, allocations: 0 / 0.783 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.073e-05/0.667, allocations: 32 kB / 0.783 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.667, allocations: 20 kB / 0.783 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/0.6696, allocations: 0.9484 MB / 0.784 GB, free: 6.629 MB / 0.5919 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.007308/0.6769, allocations: 4.67 MB / 0.7885 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004054/0.681, allocations: 0.9585 MB / 0.7895 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.682, allocations: 381.9 kB / 0.7898 GB, free: 276 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/0.6832, allocations: 1.025 MB / 0.7908 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.6832, allocations: 39 kB / 0.7909 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 3.026e-06/0.6832, allocations: 0 / 0.7909 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53): time 0.009355/0.6926, allocations: 2.17 MB / 0.793 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.6926, allocations: 55.84 kB / 0.793 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.6941, allocations: 0.9432 MB / 0.794 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.6943, allocations: 45.64 kB / 0.794 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004755/0.6947, allocations: 0.5048 MB / 0.7945 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/0.695, allocations: 198.3 kB / 0.7947 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/0.6952, allocations: 130.2 kB / 0.7948 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6954, allocations: 330 kB / 0.7951 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.6964, allocations: 354.8 kB / 0.7955 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.6976, allocations: 0.5155 MB / 0.796 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002055/0.6997, allocations: 0.7541 MB / 0.7967 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.6997, allocations: 0 / 0.7967 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003094/0.7028, allocations: 1.061 MB / 0.7977 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.7028, allocations: 8 kB / 0.7978 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.7028, allocations: 0 / 0.7978 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/0.7042, allocations: 308.8 kB / 0.798 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007018/0.7049, allocations: 139.8 kB / 0.7982 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/0.7066, allocations: 0.887 MB / 0.799 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.7079, allocations: 135.5 kB / 0.7992 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.422e-05/0.708, allocations: 27.98 kB / 0.7992 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001491/0.7095, allocations: 0.5479 MB / 0.7997 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001189/0.7106, allocations: 0.5116 MB / 0.8002 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001973/0.7126, allocations: 0.7463 MB / 0.801 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.541e-06/0.7126, allocations: 4 kB / 0.801 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003042/0.7157, allocations: 1.045 MB / 0.802 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.7157, allocations: 6.812 kB / 0.802 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.7157, allocations: 11.92 kB / 0.802 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.7168, allocations: 296.8 kB / 0.8023 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/0.7174, allocations: 127.8 kB / 0.8024 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.7188, allocations: 0.8802 MB / 0.8033 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.7199, allocations: 115.7 kB / 0.8034 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-05/0.72, allocations: 31.98 kB / 0.8034 GB, free: 1.77 MB / 0.6075 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.0002828/0.7203, allocations: 220.1 kB / 0.8036 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.7205, allocations: 115.2 kB / 0.8037 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004431/0.7249, allocations: 1.298 MB / 0.805 GB, free: 136 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.7249, allocations: 11.98 kB / 0.805 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.725, allocations: 0 / 0.805 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.725, allocations: 7.922 kB / 0.805 GB, free: 116 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006089/0.7311, allocations: 2.408 MB / 0.8074 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.7311, allocations: 0 / 0.8074 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/0.7316, allocations: 107.8 kB / 0.8075 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009971/0.7326, allocations: 288.8 kB / 0.8078 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.802e-05/0.7327, allocations: 15.98 kB / 0.8078 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.7342, allocations: 0.9308 MB / 0.8087 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7342, allocations: 4.031 kB / 0.8087 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004316/0.7385, allocations: 1.328 MB / 0.81 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006399/0.7392, allocations: 288.1 kB / 0.8103 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.7393, allocations: 15.95 kB / 0.8103 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007991/0.7401, allocations: 75.91 kB / 0.8103 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.507e-05/0.7402, allocations: 32.39 kB / 0.8104 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.902e-05/0.7403, allocations: 23.98 kB / 0.8104 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001007/0.7413, allocations: 0.6751 MB / 0.8111 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7413, allocations: 3.938 kB / 0.8111 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001602/0.7429, allocations: 0.5769 MB / 0.8116 GB, free: 9.184 MB / 0.6231 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.0009426/0.7438, allocations: 388 kB / 0.812 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003797/0.7476, allocations: 1.249 MB / 0.8132 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.7476, allocations: 0 / 0.8132 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.7489, allocations: 444.8 kB / 0.8136 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/0.7513, allocations: 499.3 kB / 0.8141 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.7555, allocations: 1.913 MB / 0.816 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007501/0.7563, allocations: 1.062 MB / 0.817 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009812/0.7573, allocations: 234.1 kB / 0.8172 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.7575, allocations: 79.41 kB / 0.8173 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of SimCode: time 1.413e-06/0.7575, allocations: 0 / 0.8173 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of Templates: time 0.04771/0.8052, allocations: 25.35 MB / 0.8421 GB, free: 10.26 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.800975188612938]