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.001143/0.001143, allocations: 76.45 kB / 19.91 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.001247/0.001247, 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.8991/0.8991, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.7001/0.7001, allocations: 154.7 MB / 414.7 MB, free: 0.7734 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.0009399/0.0009399, allocations: 67.91 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.4564/0.4573, allocations: 101.9 MB / 0.7191 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.02901/0.4863, allocations: 40 MB / 0.7582 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.009353/0.4957, allocations: 6.879 MB / 0.7649 GB, free: 8 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.4973, allocations: 58.97 kB / 0.7649 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.4986, allocations: 0.4939 MB / 0.7654 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004192/0.5028, allocations: 1.477 MB / 0.7669 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.5055, allocations: 1.208 MB / 0.768 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003359/0.5089, allocations: 2.469 MB / 0.7704 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.51, allocations: 0.6925 MB / 0.7711 GB, free: 4.141 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003036/0.513, allocations: 1.775 MB / 0.7729 GB, free: 2.961 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009727/0.514, allocations: 0.6667 MB / 0.7735 GB, free: 2.559 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.5141, allocations: 83.03 kB / 0.7736 GB, free: 2.559 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.5156, allocations: 0.6539 MB / 0.7742 GB, free: 2.234 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.5159, allocations: 233.8 kB / 0.7744 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003971/0.5162, allocations: 423.4 kB / 0.7748 GB, free: 1.805 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002324/0.5186, allocations: 1.613 MB / 0.7764 GB, free: 0.7422 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.5186, allocations: 5.375 kB / 0.7764 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5186, allocations: 0 / 0.7764 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.5186, allocations: 0 / 0.7764 GB, free: 0.7383 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.001603/0.5202, allocations: 1.312 MB / 0.7777 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.5202, allocations: 10.62 kB / 0.7777 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.5204, allocations: 124.8 kB / 0.7778 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000905/0.5213, allocations: 0.6819 MB / 0.7785 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/0.5214, allocations: 56.78 kB / 0.7786 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.784e-05/0.5215, allocations: 72.31 kB / 0.7786 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.5225, allocations: 0.9336 MB / 0.7795 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.5225, allocations: 1.531 kB / 0.7795 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.5226, allocations: 32.16 kB / 0.7796 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.5226, allocations: 21.41 kB / 0.7796 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008587/0.5235, allocations: 0.5895 MB / 0.7802 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/0.5261, allocations: 3.095 MB / 0.7832 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006982/0.5268, allocations: 361 kB / 0.7835 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.5271, allocations: 215 kB / 0.7837 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/0.5273, allocations: 120.6 kB / 0.7839 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004854/0.5278, allocations: 406.7 kB / 0.7842 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=39): time 3.316e-06/0.5278, allocations: 1.219 kB / 0.7842 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39): time 0.00118/0.529, allocations: 0.6887 MB / 0.7849 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.5291, allocations: 61.39 kB / 0.785 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008304/0.5299, allocations: 0.6297 MB / 0.7856 GB, free: 9.938 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.5299, allocations: 35.2 kB / 0.7856 GB, free: 9.902 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.5302, allocations: 458.5 kB / 0.7861 GB, free: 9.504 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.525e-05/0.5303, allocations: 132.4 kB / 0.7862 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.5304, allocations: 139.9 kB / 0.7863 GB, free: 9.305 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.5305, allocations: 379.4 kB / 0.7867 GB, free: 8.941 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.5309, allocations: 270.5 kB / 0.7869 GB, free: 8.773 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005583/0.5315, allocations: 0.771 MB / 0.7877 GB, free: 7.996 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007406/0.5322, allocations: 0.6565 MB / 0.7883 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5322, allocations: 1.688 kB / 0.7883 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001092/0.5333, allocations: 0.8213 MB / 0.7891 GB, free: 7.004 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.5333, allocations: 71.95 kB / 0.7892 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.5334, allocations: 5.531 kB / 0.7892 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.5334, allocations: 12.84 kB / 0.7892 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.5337, allocations: 131.8 kB / 0.7893 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.5337, allocations: 9.219 kB / 0.7894 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004154/0.5341, allocations: 102.5 kB / 0.7895 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.5341, allocations: 39.27 kB / 0.7895 GB, free: 6.816 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.0003224/0.5345, allocations: 246.9 kB / 0.7897 GB, free: 6.621 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-05/0.5345, allocations: 74.06 kB / 0.7898 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.5359, allocations: 1.133 MB / 0.7909 GB, free: 5.973 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/0.5359, allocations: 15.73 kB / 0.7909 GB, free: 5.965 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5359, allocations: 1.312 kB / 0.7909 GB, free: 5.965 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.536, allocations: 7.922 kB / 0.7909 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.538, allocations: 1.761 MB / 0.7926 GB, free: 4.812 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.538, allocations: 3.312 kB / 0.7927 GB, free: 4.812 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.5382, allocations: 103.9 kB / 0.7928 GB, free: 4.781 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.5382, allocations: 9.891 kB / 0.7928 GB, free: 4.777 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.5382, allocations: 25.14 kB / 0.7928 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/0.5383, allocations: 5.688 kB / 0.7928 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5383, allocations: 7.375 kB / 0.7928 GB, free: 4.758 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.5399, allocations: 1.444 MB / 0.7942 GB, free: 3.906 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/0.5401, allocations: 167.5 kB / 0.7944 GB, free: 3.781 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.803e-05/0.5402, allocations: 15.47 kB / 0.7944 GB, free: 3.773 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.5404, allocations: 56.78 kB / 0.7944 GB, free: 3.746 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.5406, allocations: 73.41 kB / 0.7945 GB, free: 3.699 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.702e-05/0.5406, allocations: 32.98 kB / 0.7945 GB, free: 3.688 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004288/0.541, allocations: 420.4 kB / 0.7949 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.9e-07/0.541, allocations: 0 / 0.7949 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009453/0.542, allocations: 351.2 kB / 0.7953 GB, free: 3.148 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.000534/0.5425, allocations: 413 kB / 0.7957 GB, free: 2.738 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.5438, allocations: 0.8175 MB / 0.7965 GB, free: 1.887 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5438, allocations: 0 / 0.7965 GB, free: 1.887 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005196/0.5443, allocations: 426.7 kB / 0.7969 GB, free: 1.473 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008655/0.5452, allocations: 287.6 kB / 0.7971 GB, free: 1.195 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.5473, allocations: 1.66 MB / 0.7988 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.5476, allocations: 433.3 kB / 0.7992 GB, free: 15 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.5478, allocations: 84.45 kB / 0.7993 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of SimCode: time 1.843e-06/0.5478, allocations: 0 / 0.7993 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of Templates: time 0.01806/0.5658, allocations: 15.77 MB / 0.8147 GB, free: 15.27 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.411107182968408] Failed to read output from testmodel.py, exit status != 0: 0.5725514879450202 0.581231699 0.060784914 Calling exit ...