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.000965/0.000965, allocations: 76.45 kB / 19.9 MB, free: 4.516 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.001127/0.001127, allocations: 165.9 kB / 23.18 MB, free: 1.242 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.9708/0.9708, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7252/0.7252, allocations: 154.7 MB / 414.7 MB, free: 0.7383 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 71.89 kB / 0.6195 GB, free: 13.14 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4761/0.4775, allocations: 102 MB / 0.7191 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.02834/0.5058, allocations: 40 MB / 0.7582 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.008623/0.5144, allocations: 6.874 MB / 0.7649 GB, free: 8.066 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.5155, allocations: 63.75 kB / 0.7649 GB, free: 8.027 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.5167, allocations: 0.4921 MB / 0.7654 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00321/0.5199, allocations: 1.479 MB / 0.7669 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.5222, allocations: 1.206 MB / 0.768 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002453/0.5246, allocations: 2.469 MB / 0.7704 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007743/0.5254, allocations: 0.6893 MB / 0.7711 GB, free: 4.199 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002317/0.5277, allocations: 1.78 MB / 0.7729 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006924/0.5284, allocations: 0.6662 MB / 0.7735 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.5285, allocations: 82.53 kB / 0.7736 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.5299, allocations: 0.6613 MB / 0.7742 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.5301, allocations: 234.1 kB / 0.7745 GB, free: 2.098 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003139/0.5304, allocations: 415.7 kB / 0.7748 GB, free: 1.859 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.5319, allocations: 1.535 MB / 0.7763 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.5319, allocations: 1.438 kB / 0.7763 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5319, allocations: 0 / 0.7763 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.5319, allocations: 0 / 0.7763 GB, free: 0.8672 MB / 0.6511 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.001566/0.5335, allocations: 1.322 MB / 0.7776 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.167e-05/0.5335, allocations: 9 kB / 0.7776 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.5337, allocations: 121.5 kB / 0.7778 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008419/0.5346, allocations: 0.6785 MB / 0.7784 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.993e-05/0.5346, allocations: 62.2 kB / 0.7785 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.738e-05/0.5347, allocations: 68.28 kB / 0.7786 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.5357, allocations: 0.9377 MB / 0.7795 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.5357, allocations: 1.219 kB / 0.7795 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.872e-05/0.5358, allocations: 28.72 kB / 0.7795 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.5358, allocations: 21 kB / 0.7795 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008889/0.5367, allocations: 0.5935 MB / 0.7801 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.539, allocations: 3.096 MB / 0.7831 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/0.5397, allocations: 363.6 kB / 0.7835 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.5401, allocations: 215.7 kB / 0.7837 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002551/0.5403, allocations: 120.4 kB / 0.7838 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004865/0.5408, allocations: 403.4 kB / 0.7842 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=39): time 1.953e-06/0.5408, allocations: 0 / 0.7842 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39): time 0.001117/0.5419, allocations: 0.6887 MB / 0.7848 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.5419, allocations: 57.03 kB / 0.7849 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005305/0.5425, allocations: 0.6304 MB / 0.7855 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.5425, allocations: 38.64 kB / 0.7856 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.5428, allocations: 463.4 kB / 0.786 GB, free: 9.621 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.078e-05/0.5428, allocations: 131.9 kB / 0.7861 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.543, allocations: 135.9 kB / 0.7862 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5431, allocations: 379.6 kB / 0.7866 GB, free: 9.062 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.5435, allocations: 266.2 kB / 0.7869 GB, free: 8.898 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.544, allocations: 0.7789 MB / 0.7876 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007341/0.5448, allocations: 0.6458 MB / 0.7883 GB, free: 7.617 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5448, allocations: 5.562 kB / 0.7883 GB, free: 7.613 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001028/0.5458, allocations: 0.8319 MB / 0.7891 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/0.5459, allocations: 67.67 kB / 0.7891 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.5459, allocations: 5.688 kB / 0.7891 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.5459, allocations: 12.62 kB / 0.7892 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.5462, allocations: 131.2 kB / 0.7893 GB, free: 7.012 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/0.5462, allocations: 13.62 kB / 0.7893 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/0.5466, allocations: 94.22 kB / 0.7894 GB, free: 6.953 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.785e-05/0.5466, allocations: 38.69 kB / 0.7894 GB, free: 6.941 MB / 0.6667 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.0002801/0.5469, allocations: 254 kB / 0.7897 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.39e-05/0.547, allocations: 78.75 kB / 0.7897 GB, free: 6.695 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.5486, allocations: 1.122 MB / 0.7908 GB, free: 6.098 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/0.5486, allocations: 15.48 kB / 0.7908 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5486, allocations: 0 / 0.7908 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.5486, allocations: 5.359 kB / 0.7909 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.5508, allocations: 1.769 MB / 0.7926 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.5508, allocations: 7.625 kB / 0.7926 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.551, allocations: 99.8 kB / 0.7927 GB, free: 4.902 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.551, allocations: 5.469 kB / 0.7927 GB, free: 4.902 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.5511, allocations: 20.89 kB / 0.7927 GB, free: 4.891 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.5511, allocations: 17.75 kB / 0.7927 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5511, allocations: 3.281 kB / 0.7927 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.5529, allocations: 1.433 MB / 0.7941 GB, free: 4.039 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/0.5531, allocations: 171.4 kB / 0.7943 GB, free: 3.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/0.5532, allocations: 23.16 kB / 0.7943 GB, free: 3.895 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.5534, allocations: 56.47 kB / 0.7944 GB, free: 3.867 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.5536, allocations: 75.5 kB / 0.7944 GB, free: 3.82 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-05/0.5536, allocations: 26.52 kB / 0.7945 GB, free: 3.812 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003989/0.554, allocations: 424.5 kB / 0.7949 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9e-08/0.554, allocations: 0 / 0.7949 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009134/0.5549, allocations: 341.9 kB / 0.7952 GB, free: 3.277 MB / 0.6667 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.0006077/0.5555, allocations: 423.5 kB / 0.7956 GB, free: 2.855 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.5566, allocations: 0.8136 MB / 0.7964 GB, free: 2.008 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5566, allocations: 0 / 0.7964 GB, free: 2.008 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005714/0.5572, allocations: 435.5 kB / 0.7968 GB, free: 1.586 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008618/0.558, allocations: 292.4 kB / 0.7971 GB, free: 1.305 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.5598, allocations: 1.628 MB / 0.7987 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.5601, allocations: 437.3 kB / 0.7991 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002716/0.5604, allocations: 149.5 kB / 0.7992 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.5605, allocations: 76.47 kB / 0.7993 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of SimCode: time 3.81e-07/0.5605, allocations: 0 / 0.7993 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of Templates: time 0.01744/0.5779, allocations: 16.71 MB / 0.8156 GB, free: 14.55 MB / 0.698 GB " [Timeout remaining time 659] 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.814255118952133] Failed to read output from testmodel.py, exit status != 0: 0.5846879910677671 0.594195401 0.059443723000000004 Calling exit ...