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.000847/0.000847, allocations: 84.44 kB / 19.91 MB, free: 4 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.0008069/0.0008069, allocations: 169.6 kB / 23.19 MB, free: 1.375 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.8521/0.8521, allocations: 177.2 MB / 203.6 MB, free: 5.785 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.6985/0.6985, 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.0009027/0.0009027, allocations: 69.09 kB / 0.6195 GB, free: 13.04 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.4052/0.4061, allocations: 102 MB / 0.7191 GB, free: 23.77 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.02461/0.4307, allocations: 40 MB / 0.7582 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.007219/0.4379, allocations: 6.87 MB / 0.7649 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000532/0.4384, allocations: 58.91 kB / 0.7649 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.000853/0.4393, allocations: 0.4931 MB / 0.7654 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.4415, allocations: 1.478 MB / 0.7669 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.4433, allocations: 1.209 MB / 0.768 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001769/0.4451, allocations: 2.47 MB / 0.7704 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009458/0.446, allocations: 0.6928 MB / 0.7711 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002069/0.4481, allocations: 1.776 MB / 0.7729 GB, free: 3.082 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005825/0.4487, allocations: 0.6657 MB / 0.7735 GB, free: 2.68 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 9.646e-05/0.4488, allocations: 82.19 kB / 0.7736 GB, free: 2.68 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.4498, allocations: 0.6538 MB / 0.7742 GB, free: 2.355 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.45, allocations: 234.3 kB / 0.7744 GB, free: 2.172 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003124/0.4503, allocations: 428 kB / 0.7749 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.4517, allocations: 1.606 MB / 0.7764 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.4517, allocations: 0 / 0.7764 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4517, allocations: 0 / 0.7764 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.4517, allocations: 0 / 0.7764 GB, free: 0.8672 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.00131/0.453, allocations: 1.318 MB / 0.7777 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.453, allocations: 12.05 kB / 0.7777 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.4532, allocations: 118 kB / 0.7778 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000789/0.454, allocations: 0.6898 MB / 0.7785 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/0.454, allocations: 54.72 kB / 0.7786 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.38e-05/0.4541, allocations: 75.48 kB / 0.7786 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009489/0.4551, allocations: 0.9305 MB / 0.7795 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.4551, allocations: 5.031 kB / 0.7795 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/0.4551, allocations: 27.94 kB / 0.7796 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.4551, allocations: 21.11 kB / 0.7796 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007878/0.4559, allocations: 0.5982 MB / 0.7802 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00263/0.4585, allocations: 3.084 MB / 0.7832 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007038/0.4593, allocations: 367.3 kB / 0.7835 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.4596, allocations: 215.9 kB / 0.7837 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.4598, allocations: 124 kB / 0.7839 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004658/0.4603, allocations: 410.1 kB / 0.7843 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=39): time 2.254e-06/0.4603, allocations: 0 / 0.7843 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39): time 0.001053/0.4613, allocations: 0.6902 MB / 0.7849 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.4614, allocations: 56.75 kB / 0.785 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004982/0.4619, allocations: 0.6261 MB / 0.7856 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.4619, allocations: 34.27 kB / 0.7856 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.4621, allocations: 471.3 kB / 0.7861 GB, free: 9.613 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.371e-05/0.4622, allocations: 133.1 kB / 0.7862 GB, free: 9.5 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.4624, allocations: 139.4 kB / 0.7863 GB, free: 9.414 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4625, allocations: 379.1 kB / 0.7867 GB, free: 9.051 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.4628, allocations: 266.6 kB / 0.787 GB, free: 8.887 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005347/0.4634, allocations: 0.775 MB / 0.7877 GB, free: 8.105 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007126/0.4641, allocations: 0.649 MB / 0.7883 GB, free: 7.605 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4641, allocations: 1.344 kB / 0.7883 GB, free: 7.605 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009565/0.465, allocations: 0.8281 MB / 0.7892 GB, free: 7.113 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.4651, allocations: 73.23 kB / 0.7892 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4651, allocations: 5.094 kB / 0.7892 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.4651, allocations: 10 kB / 0.7892 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.4653, allocations: 135.2 kB / 0.7894 GB, free: 7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.4654, allocations: 11.94 kB / 0.7894 GB, free: 6.996 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.4657, allocations: 90.97 kB / 0.7895 GB, free: 6.945 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-05/0.4657, allocations: 43.09 kB / 0.7895 GB, free: 6.93 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.0002224/0.4659, allocations: 243.4 kB / 0.7897 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.04e-05/0.466, allocations: 82.2 kB / 0.7898 GB, free: 6.691 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.4673, allocations: 1.125 MB / 0.7909 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.4673, allocations: 5.328 kB / 0.7909 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4674, allocations: 0 / 0.7909 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003463/0.4677, allocations: 168.4 kB / 0.7911 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.717e-05/0.4678, allocations: 15.66 kB / 0.7911 GB, free: 5.945 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.468, allocations: 53.81 kB / 0.7911 GB, free: 5.918 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.903e-05/0.4681, allocations: 62.39 kB / 0.7912 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001008/0.4691, allocations: 0.9242 MB / 0.7921 GB, free: 5.379 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001474/0.4705, allocations: 1.451 MB / 0.7935 GB, free: 4.551 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000418/0.471, allocations: 363.1 kB / 0.7939 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003255/0.4713, allocations: 424.4 kB / 0.7943 GB, free: 4.137 MB / 0.6667 GB Notification: Performance of Backend: time 4.61e-07/0.4713, allocations: 0 / 0.7943 GB, free: 4.137 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001175/0.4725, allocations: 0.8539 MB / 0.7951 GB, free: 3.465 MB / 0.6667 GB Notification: Performance of SimCode: time 0.001742/0.4742, allocations: 1.986 MB / 0.797 GB, free: 1.43 MB / 0.6667 GB Notification: Performance of Templates: time 0.01629/0.4905, allocations: 17.25 MB / 0.8139 GB, free: 0.5078 MB / 0.6823 GB " [Timeout remaining time 660] 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: 4.1645159248728305] Failed to read output from testmodel.py, exit status != 0: 0.49555508396588266 0.5029176009999999 0.049562496000000004 Calling exit ...