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.0008703/0.0008703, allocations: 96.38 kB / 19.7 MB, free: 448 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.0007711/0.0007711, allocations: 211.8 kB / 23 MB, free: 2.977 MB / 13.93 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.9302/0.9302, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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.7543/0.7543, allocations: 203.5 MB / 0.5046 GB, free: 10.69 MB / 410.7 MB " [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.0008852/0.0008852, allocations: 67.02 kB / 0.719 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5124/0.5133, allocations: 102 MB / 0.8186 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.02917/0.5424, allocations: 40.2 MB / 0.8579 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.007778/0.5502, allocations: 6.854 MB / 0.8645 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008137/0.551, allocations: 58.5 kB / 0.8646 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0009871/0.552, allocations: 0.498 MB / 0.8651 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002348/0.5544, allocations: 1.468 MB / 0.8665 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.556, allocations: 1.125 MB / 0.8676 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001888/0.5579, allocations: 2.548 MB / 0.8701 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000659/0.5585, allocations: 0.6933 MB / 0.8708 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/0.5603, allocations: 1.482 MB / 0.8722 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005499/0.5609, allocations: 0.6662 MB / 0.8729 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 8.587e-05/0.561, allocations: 82.03 kB / 0.873 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.562, allocations: 0.6498 MB / 0.8736 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.5622, allocations: 230 kB / 0.8738 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003295/0.5625, allocations: 425 kB / 0.8742 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.5638, allocations: 1.532 MB / 0.8757 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5638, allocations: 5.125 kB / 0.8757 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.774e-06/0.5638, allocations: 0 / 0.8757 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.5638, allocations: 0 / 0.8757 GB, free: 8.363 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.001386/0.5652, allocations: 1.312 MB / 0.877 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.5652, allocations: 9.688 kB / 0.877 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.5654, allocations: 117.4 kB / 0.8771 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008451/0.5662, allocations: 0.6858 MB / 0.8778 GB, free: 6.742 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.5663, allocations: 64.69 kB / 0.8779 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.081e-05/0.5663, allocations: 68.53 kB / 0.8779 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009822/0.5673, allocations: 0.9331 MB / 0.8788 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.5673, allocations: 6.375 kB / 0.8788 GB, free: 5.98 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.5674, allocations: 27.84 kB / 0.8789 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.5674, allocations: 20.41 kB / 0.8789 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008371/0.5682, allocations: 0.5866 MB / 0.8795 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.5707, allocations: 3.095 MB / 0.8825 GB, free: 3.004 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/0.5713, allocations: 361.8 kB / 0.8828 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.5716, allocations: 216.7 kB / 0.883 GB, free: 2.715 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.5719, allocations: 115.8 kB / 0.8831 GB, free: 2.668 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004724/0.5723, allocations: 406.1 kB / 0.8835 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 2.685e-06/0.5723, allocations: 0.9688 kB / 0.8835 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.001093/0.5734, allocations: 0.6853 MB / 0.8842 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.5735, allocations: 63.91 kB / 0.8843 GB, free: 1.945 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005116/0.574, allocations: 0.6271 MB / 0.8849 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.574, allocations: 42.25 kB / 0.8849 GB, free: 1.527 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.5742, allocations: 466.4 kB / 0.8854 GB, free: 1.121 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/0.5743, allocations: 134.8 kB / 0.8855 GB, free: 0.9883 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.5744, allocations: 138.2 kB / 0.8856 GB, free: 0.8477 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.5745, allocations: 382.8 kB / 0.886 GB, free: 476 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.5749, allocations: 264.6 kB / 0.8862 GB, free: 196 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005043/0.5754, allocations: 0.774 MB / 0.887 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006568/0.576, allocations: 0.6586 MB / 0.8876 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.576, allocations: 0 / 0.8876 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008965/0.5769, allocations: 0.8289 MB / 0.8884 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.577, allocations: 63.34 kB / 0.8885 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.577, allocations: 8 kB / 0.8885 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.577, allocations: 8 kB / 0.8885 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.5772, allocations: 131.8 kB / 0.8886 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.5772, allocations: 16.36 kB / 0.8887 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.5775, allocations: 103.5 kB / 0.8888 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.5776, allocations: 35.98 kB / 0.8888 GB, free: 13.27 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.0003796/0.578, allocations: 245.6 kB / 0.889 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/0.578, allocations: 71.53 kB / 0.8891 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.5792, allocations: 1.135 MB / 0.8902 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.5793, allocations: 11.98 kB / 0.8902 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5793, allocations: 0 / 0.8902 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.5793, allocations: 11.86 kB / 0.8902 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.5809, allocations: 1.757 MB / 0.8919 GB, free: 9.949 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5809, allocations: 4 kB / 0.8919 GB, free: 9.945 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.5811, allocations: 99.86 kB / 0.892 GB, free: 9.848 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.5811, allocations: 8.375 kB / 0.8921 GB, free: 9.84 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.5812, allocations: 23.98 kB / 0.8921 GB, free: 9.816 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.5812, allocations: 7.938 kB / 0.8921 GB, free: 9.809 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5812, allocations: 4 kB / 0.8921 GB, free: 9.805 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.5825, allocations: 1.443 MB / 0.8935 GB, free: 8.309 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.5827, allocations: 175.1 kB / 0.8937 GB, free: 8.137 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.175e-05/0.5828, allocations: 15.98 kB / 0.8937 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.583, allocations: 55.94 kB / 0.8937 GB, free: 8.066 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.5831, allocations: 76.33 kB / 0.8938 GB, free: 7.992 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.5831, allocations: 27.98 kB / 0.8938 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002967/0.5834, allocations: 427 kB / 0.8942 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6e-08/0.5834, allocations: 0 / 0.8942 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000701/0.5841, allocations: 347 kB / 0.8946 GB, free: 7.215 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.000468/0.5846, allocations: 415.7 kB / 0.895 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008755/0.5855, allocations: 0.8175 MB / 0.8958 GB, free: 5.953 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.5855, allocations: 0 / 0.8958 GB, free: 5.953 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006366/0.5861, allocations: 422.8 kB / 0.8962 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007695/0.5869, allocations: 290.2 kB / 0.8964 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.5885, allocations: 1.668 MB / 0.8981 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.5887, allocations: 429.3 kB / 0.8985 GB, free: 3.066 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.5889, allocations: 87.39 kB / 0.8986 GB, free: 2.98 MB / 0.6667 GB Notification: Performance of SimCode: time 4.1e-07/0.5889, allocations: 0 / 0.8986 GB, free: 2.98 MB / 0.6667 GB Notification: Performance of Templates: time 0.01224/0.6011, allocations: 15.78 MB / 0.914 GB, free: 3.305 MB / 0.6823 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.8989583710208535] Failed to read output from testmodel.py, exit status != 0: 0.6064237928949296 0.614376751 0.048874423 Calling exit ...