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.001845/0.001845, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002256/0.002256, allocations: 214.5 kB / 22.25 MB, free: 4.859 MB / 14.72 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 1.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 1.346/1.346, allocations: 203.5 MB / 0.5038 GB, free: 4.891 MB / 414.1 MB " [Timeout remaining time 178] 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.002229/0.002229, allocations: 67.91 kB / 0.7183 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6193/0.6216, allocations: 102 MB / 0.8178 GB, free: 29.12 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.04576/0.6673, allocations: 40.21 MB / 0.8571 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01396/0.6813, allocations: 6.851 MB / 0.8638 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002653/0.6839, allocations: 59.28 kB / 0.8639 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.6862, allocations: 0.497 MB / 0.8643 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006617/0.6928, allocations: 1.471 MB / 0.8658 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004818/0.6977, allocations: 1.121 MB / 0.8669 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006016/0.7037, allocations: 2.548 MB / 0.8694 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002252/0.7059, allocations: 0.698 MB / 0.87 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005033/0.711, allocations: 1.469 MB / 0.8715 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002046/0.713, allocations: 0.6739 MB / 0.8721 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000448/0.7135, allocations: 82.88 kB / 0.8722 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.7163, allocations: 0.6385 MB / 0.8728 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005322/0.7169, allocations: 237.8 kB / 0.8731 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.7182, allocations: 424.6 kB / 0.8735 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004325/0.7226, allocations: 1.526 MB / 0.875 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7226, allocations: 3.938 kB / 0.875 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.318e-06/0.7226, allocations: 7.922 kB / 0.875 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.152e-05/0.7226, allocations: 0.8125 kB / 0.875 GB, free: 6.289 MB / 0.6544 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.003843/0.7265, allocations: 1.316 MB / 0.8763 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.7265, allocations: 9.5 kB / 0.8763 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004826/0.727, allocations: 113.5 kB / 0.8764 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001836/0.7288, allocations: 0.6907 MB / 0.877 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.364e-05/0.7289, allocations: 60.45 kB / 0.8771 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.7291, allocations: 76.16 kB / 0.8772 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.7314, allocations: 0.9294 MB / 0.8781 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.7314, allocations: 6.125 kB / 0.8781 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-05/0.7315, allocations: 31.66 kB / 0.8781 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.7315, allocations: 16.5 kB / 0.8781 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/0.7334, allocations: 0.5906 MB / 0.8787 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005167/0.7385, allocations: 3.096 MB / 0.8817 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.7398, allocations: 357.9 kB / 0.8821 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005681/0.7404, allocations: 223.3 kB / 0.8823 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004366/0.7408, allocations: 116.4 kB / 0.8824 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008402/0.7417, allocations: 416 kB / 0.8828 GB, free: 268 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 2.515e-06/0.7417, allocations: 0 / 0.8828 GB, free: 268 kB / 0.6544 GB Notification: Performance of matching and sorting (n=39): time 0.002195/0.7439, allocations: 0.6817 MB / 0.8835 GB, free: 15.93 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.7439, allocations: 56.47 kB / 0.8835 GB, free: 15.86 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009658/0.7449, allocations: 0.6302 MB / 0.8841 GB, free: 15.48 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.882e-05/0.745, allocations: 39.08 kB / 0.8842 GB, free: 15.45 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/0.7454, allocations: 462.8 kB / 0.8846 GB, free: 15.05 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.7456, allocations: 140 kB / 0.8847 GB, free: 14.93 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.7458, allocations: 132.2 kB / 0.8849 GB, free: 14.85 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002655/0.7461, allocations: 378.7 kB / 0.8852 GB, free: 14.48 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006713/0.7468, allocations: 271.1 kB / 0.8855 GB, free: 14.32 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.7478, allocations: 0.7703 MB / 0.8862 GB, free: 13.54 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.7492, allocations: 0.6604 MB / 0.8869 GB, free: 13.03 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.7492, allocations: 2.469 kB / 0.8869 GB, free: 13.03 MB / 0.67 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001971/0.7512, allocations: 0.821 MB / 0.8877 GB, free: 12.54 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.293e-05/0.7513, allocations: 68.67 kB / 0.8878 GB, free: 12.47 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.7513, allocations: 5.562 kB / 0.8878 GB, free: 12.47 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.217e-05/0.7513, allocations: 13.47 kB / 0.8878 GB, free: 12.47 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/0.7518, allocations: 130.1 kB / 0.8879 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.396e-05/0.7519, allocations: 13.42 kB / 0.8879 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008204/0.7527, allocations: 101.9 kB / 0.888 GB, free: 12.37 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.825e-05/0.7528, allocations: 39.42 kB / 0.888 GB, free: 12.36 MB / 0.67 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.0004983/0.7533, allocations: 249.6 kB / 0.8883 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.7535, allocations: 82.48 kB / 0.8884 GB, free: 12.11 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/0.7559, allocations: 1.114 MB / 0.8894 GB, free: 11.52 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.053e-05/0.7559, allocations: 15.77 kB / 0.8895 GB, free: 11.51 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.756, allocations: 1.156 kB / 0.8895 GB, free: 11.51 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.756, allocations: 11.92 kB / 0.8895 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003618/0.7596, allocations: 1.754 MB / 0.8912 GB, free: 10.36 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.7596, allocations: 2.438 kB / 0.8912 GB, free: 10.36 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004692/0.7601, allocations: 105 kB / 0.8913 GB, free: 10.33 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/0.7601, allocations: 5.812 kB / 0.8913 GB, free: 10.33 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/0.7601, allocations: 25.08 kB / 0.8913 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/0.7601, allocations: 5.125 kB / 0.8913 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/0.7602, allocations: 6.969 kB / 0.8913 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003032/0.7632, allocations: 1.45 MB / 0.8927 GB, free: 9.238 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004744/0.7637, allocations: 167.1 kB / 0.8929 GB, free: 9.074 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.842e-05/0.7638, allocations: 19.98 kB / 0.8929 GB, free: 9.055 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/0.7642, allocations: 55.94 kB / 0.893 GB, free: 9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.7644, allocations: 76.31 kB / 0.8931 GB, free: 8.926 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-05/0.7645, allocations: 27.98 kB / 0.8931 GB, free: 8.898 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006334/0.7651, allocations: 423 kB / 0.8935 GB, free: 8.492 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7651, allocations: 4.062 kB / 0.8935 GB, free: 8.488 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001423/0.7665, allocations: 351 kB / 0.8938 GB, free: 8.145 MB / 0.67 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.0008396/0.7674, allocations: 407.7 kB / 0.8942 GB, free: 7.738 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001774/0.7691, allocations: 0.8089 MB / 0.895 GB, free: 6.898 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.7692, allocations: 4 kB / 0.895 GB, free: 6.895 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.7702, allocations: 448.2 kB / 0.8954 GB, free: 6.457 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.7718, allocations: 297.6 kB / 0.8957 GB, free: 6.184 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.7753, allocations: 1.635 MB / 0.8973 GB, free: 4.473 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/0.7759, allocations: 437.3 kB / 0.8977 GB, free: 4.016 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008086/0.7767, allocations: 145.5 kB / 0.8979 GB, free: 3.871 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.777, allocations: 75.34 kB / 0.8979 GB, free: 3.797 MB / 0.67 GB Notification: Performance of SimCode: time 2.485e-06/0.777, allocations: 0 / 0.8979 GB, free: 3.797 MB / 0.67 GB Notification: Performance of Templates: time 0.03304/0.81, allocations: 18.04 MB / 0.9156 GB, free: 2.09 MB / 0.6856 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.690475970506668] Failed to read output from testmodel.py, exit status != 0: 0.8200582135468721 0.834953825 0.10873420700000001 Calling exit ...