Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Taps.Examples.Tap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007748/0.0007748, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007619/0.0007619, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9011/0.9011, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.69/0.69, allocations: 154.6 MB / 414.5 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.Tap") translateModel(IDEAS.Fluid.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.Tap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.149e-05/3.391e-05, allocations: 5.094 kB / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.02821/0.02825, allocations: 39.86 MB / 0.6582 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006662/0.03491, allocations: 6.871 MB / 0.6649 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005422/0.03545, allocations: 59.44 kB / 0.665 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008253/0.03628, allocations: 0.504 MB / 0.6655 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.03827, allocations: 1.515 MB / 0.667 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.03991, allocations: 1.214 MB / 0.6682 GB, free: 11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00183/0.04174, allocations: 2.528 MB / 0.6706 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007277/0.04247, allocations: 0.6958 MB / 0.6713 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.04446, allocations: 1.76 MB / 0.673 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005239/0.04498, allocations: 0.5801 MB / 0.6736 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.342e-05/0.04506, allocations: 87.98 kB / 0.6737 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008322/0.04589, allocations: 0.6623 MB / 0.6743 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.04606, allocations: 239 kB / 0.6745 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.0463, allocations: 351.1 kB / 0.6749 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.04748, allocations: 1.538 MB / 0.6764 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.04748, allocations: 0 / 0.6764 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.864e-06/0.04748, allocations: 0 / 0.6764 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.04749, allocations: 0 / 0.6764 GB, free: 2.535 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001293/0.04878, allocations: 1.309 MB / 0.6777 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.04882, allocations: 8.031 kB / 0.6777 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.04895, allocations: 120.2 kB / 0.6778 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007911/0.04974, allocations: 0.6888 MB / 0.6785 GB, free: 344 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.04978, allocations: 54.38 kB / 0.6785 GB, free: 292 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-05/0.04985, allocations: 68.38 kB / 0.6786 GB, free: 224 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3148/0.3647, allocations: 0.9442 MB / 0.6795 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.3647, allocations: 1.969 kB / 0.6795 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.069e-05/0.3647, allocations: 25.56 kB / 0.6795 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.3648, allocations: 16.19 kB / 0.6795 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008144/0.3656, allocations: 0.5916 MB / 0.6801 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002635/0.3682, allocations: 3.084 MB / 0.6831 GB, free: 98.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/0.3689, allocations: 363.2 kB / 0.6835 GB, free: 98.53 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.3692, allocations: 216 kB / 0.6837 GB, free: 98.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000313/0.3695, allocations: 111.6 kB / 0.6838 GB, free: 98.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004673/0.37, allocations: 401.7 kB / 0.6842 GB, free: 98.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 3.226e-06/0.37, allocations: 4.406 kB / 0.6842 GB, free: 98.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.001061/0.371, allocations: 0.6935 MB / 0.6849 GB, free: 97.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.3711, allocations: 57.19 kB / 0.6849 GB, free: 97.92 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/0.3716, allocations: 0.6213 MB / 0.6855 GB, free: 97.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.3716, allocations: 37.7 kB / 0.6855 GB, free: 97.61 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.3718, allocations: 468.1 kB / 0.686 GB, free: 97.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.658e-05/0.3719, allocations: 136.2 kB / 0.6861 GB, free: 97.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.372, allocations: 131.7 kB / 0.6863 GB, free: 97.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.5e-05/0.3721, allocations: 386.5 kB / 0.6866 GB, free: 96.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.3724, allocations: 269.1 kB / 0.6869 GB, free: 96.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004574/0.3729, allocations: 0.7687 MB / 0.6876 GB, free: 95.95 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006429/0.3735, allocations: 0.6534 MB / 0.6883 GB, free: 95.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.3735, allocations: 2.469 kB / 0.6883 GB, free: 95.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008947/0.3744, allocations: 0.8255 MB / 0.6891 GB, free: 95.13 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.349e-05/0.3745, allocations: 68.3 kB / 0.6891 GB, free: 95.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.3745, allocations: 5.781 kB / 0.6891 GB, free: 95.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.3745, allocations: 10.97 kB / 0.6892 GB, free: 95.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.3747, allocations: 136.5 kB / 0.6893 GB, free: 95.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.3748, allocations: 16.02 kB / 0.6893 GB, free: 95.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.3751, allocations: 92.53 kB / 0.6894 GB, free: 95.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/0.3751, allocations: 40.33 kB / 0.6894 GB, free: 95.01 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 13 (m_flow_set2.count,$PRE.m_flow_set2.count,m_flow_set2.T_start,$PRE.m_flow_set2.T_start,tap2.DHWCom,tap1.DHWCom,m_flow_set1.count,$PRE.m_flow_set1.count,m_flow_set1.T_start,$PRE.m_flow_set1.T_start,$whenCondition1,$whenCondition2,DHWDisCom1_Kh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002216/0.3754, allocations: 239.6 kB / 0.6897 GB, free: 94.83 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.3754, allocations: 82.61 kB / 0.6897 GB, free: 94.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.3767, allocations: 1.127 MB / 0.6908 GB, free: 94.44 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.3767, allocations: 13.78 kB / 0.6908 GB, free: 94.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3767, allocations: 0 / 0.6908 GB, free: 94.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.3768, allocations: 6.094 kB / 0.6909 GB, free: 94.43 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.3783, allocations: 1.768 MB / 0.6926 GB, free: 93.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.3783, allocations: 2.719 kB / 0.6926 GB, free: 93.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.3785, allocations: 101 kB / 0.6927 GB, free: 93.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.3785, allocations: 7.125 kB / 0.6927 GB, free: 93.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.3786, allocations: 23.11 kB / 0.6927 GB, free: 93.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.3786, allocations: 9.688 kB / 0.6927 GB, free: 93.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3786, allocations: 3.844 kB / 0.6927 GB, free: 93.58 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.3799, allocations: 1.438 MB / 0.6941 GB, free: 92.92 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.38, allocations: 174.2 kB / 0.6943 GB, free: 92.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.085e-05/0.3801, allocations: 19.88 kB / 0.6943 GB, free: 92.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.3803, allocations: 54.92 kB / 0.6944 GB, free: 92.81 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.874e-05/0.3804, allocations: 75.41 kB / 0.6944 GB, free: 92.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.3804, allocations: 31.3 kB / 0.6945 GB, free: 92.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000269/0.3807, allocations: 422.9 kB / 0.6949 GB, free: 92.61 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.3807, allocations: 2.562 kB / 0.6949 GB, free: 92.61 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006853/0.3814, allocations: 345.1 kB / 0.6952 GB, free: 92.52 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (DHWDisCom1_Kh.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,m_flow_set1.T_start,m_flow_set1.count,tap1.DHWCom,tap2.DHWCom,m_flow_set2.T_start,m_flow_set2.count) * Number of discrete states: 2 (m_flow_set2.count,m_flow_set1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005277/0.3819, allocations: 424 kB / 0.6956 GB, free: 92.38 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000816/0.3827, allocations: 0.8132 MB / 0.6964 GB, free: 92 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3827, allocations: 6.781 kB / 0.6964 GB, free: 92 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004554/0.3832, allocations: 427 kB / 0.6968 GB, free: 91.87 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007919/0.384, allocations: 294.2 kB / 0.6971 GB, free: 91.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.3856, allocations: 1.638 MB / 0.6987 GB, free: 90.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.3858, allocations: 429 kB / 0.6991 GB, free: 90.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.386, allocations: 90.38 kB / 0.6992 GB, free: 90.73 MB / 0.6355 GB Notification: Performance of SimCode: time 6.01e-07/0.386, allocations: 0 / 0.6992 GB, free: 90.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.01622/0.4022, allocations: 15.85 MB / 0.7147 GB, free: 88.57 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Taps.Examples.Tap.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.Tap.sim & ./IDEAS_IDEAS.Fluid.Taps.Examples.Tap -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.583167152479291] Failed to read output from testmodel.py, exit status != 0: 0.40851880237460136 0.417535645 0.36815825700000004 Calling exit ...