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.001105/0.001105, allocations: 80.45 kB / 19.9 MB, free: 12 kB / 13.93 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.001272/0.001272, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9397/0.9397, allocations: 177.2 MB / 203.6 MB, free: 5.758 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.7421/0.7421, allocations: 154.7 MB / 414.7 MB, free: 0.7422 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.0009568/0.0009568, allocations: 75.89 kB / 0.6195 GB, free: 13.12 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.4892/0.4901, allocations: 101.9 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.03573/0.5259, allocations: 40 MB / 0.7582 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01017/0.536, allocations: 6.874 MB / 0.7649 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.538, allocations: 58.38 kB / 0.7649 GB, free: 8.023 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.5395, allocations: 0.4931 MB / 0.7654 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004474/0.544, allocations: 1.479 MB / 0.7668 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002878/0.5469, allocations: 1.216 MB / 0.768 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003913/0.5508, allocations: 2.465 MB / 0.7704 GB, free: 4.66 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.552, allocations: 0.6903 MB / 0.7711 GB, free: 4.164 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003173/0.5552, allocations: 1.779 MB / 0.7729 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.5564, allocations: 0.6628 MB / 0.7735 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.5566, allocations: 82.22 kB / 0.7736 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.5584, allocations: 0.6608 MB / 0.7742 GB, free: 2.25 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.5586, allocations: 234.5 kB / 0.7744 GB, free: 2.066 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004307/0.5591, allocations: 416 kB / 0.7748 GB, free: 1.828 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.5612, allocations: 1.528 MB / 0.7763 GB, free: 0.8438 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.5612, allocations: 4 kB / 0.7763 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.645e-06/0.5612, allocations: 0 / 0.7763 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.5612, allocations: 1.375 kB / 0.7763 GB, free: 0.8398 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.001759/0.563, allocations: 1.315 MB / 0.7776 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.563, allocations: 13.52 kB / 0.7776 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.5632, allocations: 121.5 kB / 0.7778 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009084/0.5641, allocations: 0.6861 MB / 0.7784 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/0.5642, allocations: 64.98 kB / 0.7785 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-05/0.5643, allocations: 72.3 kB / 0.7786 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.5654, allocations: 0.9335 MB / 0.7795 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.5654, allocations: 1.562 kB / 0.7795 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/0.5654, allocations: 32.97 kB / 0.7795 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.5654, allocations: 16.03 kB / 0.7795 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009041/0.5664, allocations: 0.5909 MB / 0.7801 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/0.569, allocations: 3.095 MB / 0.7831 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.5701, allocations: 364 kB / 0.7835 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.5704, allocations: 214.9 kB / 0.7837 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003471/0.5707, allocations: 120 kB / 0.7838 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005507/0.5713, allocations: 404.7 kB / 0.7842 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=39): time 3.466e-06/0.5713, allocations: 0 / 0.7842 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39): time 0.001283/0.5726, allocations: 0.6968 MB / 0.7848 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.5726, allocations: 56.44 kB / 0.7849 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006133/0.5732, allocations: 0.6306 MB / 0.7855 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.013e-05/0.5733, allocations: 34.89 kB / 0.7856 GB, free: 9.988 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.5736, allocations: 458.9 kB / 0.786 GB, free: 9.59 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.894e-05/0.5736, allocations: 132.4 kB / 0.7861 GB, free: 9.477 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.5738, allocations: 140.3 kB / 0.7862 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5739, allocations: 382.6 kB / 0.7866 GB, free: 9.023 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.5743, allocations: 266.1 kB / 0.7869 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/0.5749, allocations: 0.7755 MB / 0.7876 GB, free: 8.078 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008015/0.5757, allocations: 0.6492 MB / 0.7883 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.5757, allocations: 1.062 kB / 0.7883 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001146/0.5769, allocations: 0.8294 MB / 0.7891 GB, free: 7.086 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.345e-05/0.5769, allocations: 70.3 kB / 0.7891 GB, free: 7.016 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.5769, allocations: 5.594 kB / 0.7891 GB, free: 7.016 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.577, allocations: 8.062 kB / 0.7891 GB, free: 7.016 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.5773, allocations: 131.5 kB / 0.7893 GB, free: 6.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-05/0.5773, allocations: 13.22 kB / 0.7893 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.5778, allocations: 103 kB / 0.7894 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/0.5778, allocations: 42.22 kB / 0.7894 GB, free: 6.898 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.0003481/0.5782, allocations: 238.9 kB / 0.7897 GB, free: 6.711 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-05/0.5783, allocations: 78.61 kB / 0.7897 GB, free: 6.668 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.5798, allocations: 1.13 MB / 0.7908 GB, free: 6.062 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/0.5798, allocations: 11.64 kB / 0.7908 GB, free: 6.059 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.5798, allocations: 0 / 0.7908 GB, free: 6.059 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.5798, allocations: 7.922 kB / 0.7909 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.5821, allocations: 1.766 MB / 0.7926 GB, free: 4.902 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.5821, allocations: 7.156 kB / 0.7926 GB, free: 4.898 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.5824, allocations: 100.7 kB / 0.7927 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.816e-06/0.5824, allocations: 10.09 kB / 0.7927 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.5824, allocations: 21.11 kB / 0.7927 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/0.5824, allocations: 8.562 kB / 0.7927 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.5824, allocations: 3.469 kB / 0.7927 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.5845, allocations: 1.44 MB / 0.7941 GB, free: 4.004 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/0.5848, allocations: 172.1 kB / 0.7943 GB, free: 3.875 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/0.5848, allocations: 14.94 kB / 0.7943 GB, free: 3.867 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.5851, allocations: 57.12 kB / 0.7944 GB, free: 3.84 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.5853, allocations: 81.86 kB / 0.7944 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/0.5853, allocations: 32.39 kB / 0.7945 GB, free: 3.773 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004731/0.5858, allocations: 420.4 kB / 0.7949 GB, free: 3.535 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5858, allocations: 0 / 0.7949 GB, free: 3.535 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001127/0.5869, allocations: 353.7 kB / 0.7952 GB, free: 3.238 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.0006121/0.5875, allocations: 411.6 kB / 0.7956 GB, free: 2.828 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001115/0.5886, allocations: 0.8097 MB / 0.7964 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5886, allocations: 0 / 0.7964 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005854/0.5892, allocations: 442.7 kB / 0.7968 GB, free: 1.555 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008743/0.5901, allocations: 286.2 kB / 0.7971 GB, free: 1.281 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.5921, allocations: 1.631 MB / 0.7987 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.5924, allocations: 433.3 kB / 0.7991 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003687/0.5928, allocations: 157.4 kB / 0.7992 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.5929, allocations: 76.47 kB / 0.7993 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of SimCode: time 1.002e-06/0.5929, allocations: 0 / 0.7993 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of Templates: time 0.02036/0.6133, allocations: 16.7 MB / 0.8156 GB, free: 14.53 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.77914917410817] Failed to read output from testmodel.py, exit status != 0: 0.6198984080692753 0.6297408050000001 0.066251932 Calling exit ...