Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 111.2 kB / 17.13 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 194.7 kB / 20.08 MB, free: 3.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.097/1.097, allocations: 177.9 MB / 481.2 MB, free: 1.426 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap") translateModel(IDEAS.Fluid.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 72.44 kB / 0.6695 GB, free: 9.16 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2079, allocations: 95.09 MB / 0.7623 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.05139/0.2593, allocations: 43.72 MB / 0.805 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.2718, allocations: 7.347 MB / 0.8122 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.2735, allocations: 67.38 kB / 0.8123 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.2751, allocations: 0.4886 MB / 0.8127 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004586/0.2797, allocations: 1.497 MB / 0.8142 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003283/0.283, allocations: 1.107 MB / 0.8153 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004375/0.2874, allocations: 2.518 MB / 0.8177 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.2888, allocations: 0.7304 MB / 0.8185 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003471/0.2923, allocations: 1.44 MB / 0.8199 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.2936, allocations: 0.7039 MB / 0.8206 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002096/0.2938, allocations: 80 kB / 0.8206 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.296, allocations: 0.8383 MB / 0.8214 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003398/0.2963, allocations: 235.1 kB / 0.8217 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009172/0.2972, allocations: 0.5052 MB / 0.8222 GB, free: 208 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003428/0.3007, allocations: 1.569 MB / 0.8237 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3007, allocations: 0 / 0.8237 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3007, allocations: 0 / 0.8237 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.34e-05/0.3007, allocations: 0 / 0.8237 GB, free: 14.63 MB / 0.6387 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.002816/0.3035, allocations: 1.394 MB / 0.8251 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3036, allocations: 8.031 kB / 0.8251 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002637/0.3038, allocations: 124.2 kB / 0.8252 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.3051, allocations: 0.7573 MB / 0.8259 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.843e-05/0.3052, allocations: 50 kB / 0.826 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.3053, allocations: 76 kB / 0.826 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.3069, allocations: 0.8339 MB / 0.8269 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.3069, allocations: 3.938 kB / 0.8269 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.918e-05/0.307, allocations: 32 kB / 0.8269 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.307, allocations: 23.98 kB / 0.8269 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.3085, allocations: 0.5904 MB / 0.8275 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004624/0.3131, allocations: 3.981 MB / 0.8314 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.3143, allocations: 366.4 kB / 0.8317 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005503/0.3148, allocations: 224.7 kB / 0.8319 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/0.3159, allocations: 1.302 MB / 0.8332 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007484/0.3167, allocations: 301.7 kB / 0.8335 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 2.855e-06/0.3167, allocations: 0 / 0.8335 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39): time 0.002077/0.3188, allocations: 0.7088 MB / 0.8342 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.3188, allocations: 55.41 kB / 0.8342 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.3199, allocations: 0.716 MB / 0.8349 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.426e-05/0.32, allocations: 45.69 kB / 0.835 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000414/0.3204, allocations: 452.5 kB / 0.8354 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.3205, allocations: 138.9 kB / 0.8356 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.3207, allocations: 134.1 kB / 0.8357 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3209, allocations: 330 kB / 0.836 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005779/0.3215, allocations: 213 kB / 0.8362 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008118/0.3223, allocations: 427.7 kB / 0.8366 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.396/0.7182, allocations: 0.6494 MB / 0.8372 GB, free: 73.41 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.7182, allocations: 1.562 kB / 0.8372 GB, free: 73.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002077/0.7203, allocations: 0.7776 MB / 0.838 GB, free: 73.29 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/0.7204, allocations: 62.47 kB / 0.8381 GB, free: 73.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.7204, allocations: 10.53 kB / 0.8381 GB, free: 73.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.7204, allocations: 9.812 kB / 0.8381 GB, free: 73.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/0.7209, allocations: 137.5 kB / 0.8382 GB, free: 73.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/0.7209, allocations: 14.61 kB / 0.8382 GB, free: 73.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007208/0.7217, allocations: 104.7 kB / 0.8383 GB, free: 73.22 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.662e-05/0.7217, allocations: 38.95 kB / 0.8384 GB, free: 73.22 MB / 0.6387 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.0003585/0.7221, allocations: 242.3 kB / 0.8386 GB, free: 73.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.7222, allocations: 93.27 kB / 0.8387 GB, free: 73.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/0.7246, allocations: 1.109 MB / 0.8398 GB, free: 73 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-05/0.7246, allocations: 15.17 kB / 0.8398 GB, free: 73 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.7246, allocations: 1.312 kB / 0.8398 GB, free: 73 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.7246, allocations: 3.328 kB / 0.8398 GB, free: 73 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00335/0.728, allocations: 1.93 MB / 0.8417 GB, free: 72.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.728, allocations: 3.125 kB / 0.8417 GB, free: 72.42 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004292/0.7284, allocations: 99.53 kB / 0.8418 GB, free: 72.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.7284, allocations: 13.53 kB / 0.8418 GB, free: 72.41 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/0.7285, allocations: 20.36 kB / 0.8418 GB, free: 72.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/0.7285, allocations: 10.58 kB / 0.8418 GB, free: 72.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.7285, allocations: 3.906 kB / 0.8418 GB, free: 72.39 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.7312, allocations: 1.409 MB / 0.8432 GB, free: 71.71 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004001/0.7316, allocations: 259.8 kB / 0.8434 GB, free: 71.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.7317, allocations: 18.91 kB / 0.8435 GB, free: 71.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005222/0.7322, allocations: 55.69 kB / 0.8435 GB, free: 71.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.7324, allocations: 75.38 kB / 0.8436 GB, free: 71.48 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.018e-05/0.7324, allocations: 31.44 kB / 0.8436 GB, free: 71.48 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007367/0.7332, allocations: 499 kB / 0.8441 GB, free: 71.26 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7332, allocations: 0 / 0.8441 GB, free: 71.26 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001185/0.7344, allocations: 345 kB / 0.8444 GB, free: 71.21 MB / 0.6387 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.0008813/0.7352, allocations: 428.2 kB / 0.8448 GB, free: 71.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00179/0.737, allocations: 0.7447 MB / 0.8456 GB, free: 70.79 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.737, allocations: 1.406 kB / 0.8456 GB, free: 70.79 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009735/0.738, allocations: 406.4 kB / 0.8459 GB, free: 70.66 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.7398, allocations: 372.5 kB / 0.8463 GB, free: 70.57 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.7428, allocations: 1.667 MB / 0.8479 GB, free: 69.63 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005834/0.7434, allocations: 1.021 MB / 0.8489 GB, free: 68.92 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.7436, allocations: 90.67 kB / 0.849 GB, free: 68.9 MB / 0.6387 GB Notification: Performance of SimCode: time 9.41e-07/0.7436, allocations: 0 / 0.849 GB, free: 68.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.0274/0.771, allocations: 16.51 MB / 0.8651 GB, free: 63.01 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.009604324004613] Failed to read output from testmodel.py, exit status != 0: 0.7787153479875997 0.78833681 0.48537096599999996 Calling exit ...