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.001493/0.001493, allocations: 80.81 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001857/0.001857, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.042/1.042, allocations: 177.1 MB / 203.8 MB, free: 5.473 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-545:108: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-545:116: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.7599/0.7599, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 480 MB, free: 6.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.778e-05, allocations: 9.172 kB / 480 MB, free: 6.949 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.009272/0.00929, allocations: 11.26 MB / 491.2 MB, free: 11.71 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005721/0.01501, allocations: 3.56 MB / 494.8 MB, free: 8.188 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.0162, allocations: 59.44 kB / 494.9 MB, free: 8.129 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007161/0.01691, allocations: 310.7 kB / 495.2 MB, free: 7.824 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.01859, allocations: 0.9007 MB / 496.1 MB, free: 6.926 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.02026, allocations: 1.031 MB / 497.1 MB, free: 5.898 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003132/0.02339, allocations: 2.496 MB / 499.6 MB, free: 3.395 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.02455, allocations: 0.7192 MB / 0.4886 GB, free: 2.656 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005164/0.02972, allocations: 1.174 MB / 0.4897 GB, free: 1.48 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008487/0.03057, allocations: 0.5628 MB / 0.4903 GB, free: 0.918 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.03071, allocations: 85.09 kB / 0.4904 GB, free: 0.8359 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000521/0.03123, allocations: 239.6 kB / 0.4906 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.03144, allocations: 247 kB / 0.4908 GB, free: 368 kB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003455/0.03489, allocations: 343.9 kB / 0.4912 GB, free: 24 kB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.03612, allocations: 0.8407 MB / 0.492 GB, free: 15.18 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.03613, allocations: 0.9062 kB / 0.492 GB, free: 15.18 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.03613, allocations: 0 / 0.492 GB, free: 15.18 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.03614, allocations: 0 / 0.492 GB, free: 15.18 MB / 474.7 MB 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.004504/0.04065, allocations: 1.224 MB / 0.4932 GB, free: 13.92 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.04068, allocations: 8.531 kB / 0.4932 GB, free: 13.91 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.04088, allocations: 134.7 kB / 0.4933 GB, free: 13.78 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.04204, allocations: 0.6114 MB / 0.4939 GB, free: 13.14 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.897e-05/0.04209, allocations: 54.38 kB / 0.494 GB, free: 13.09 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-05/0.04218, allocations: 72.94 kB / 0.494 GB, free: 13.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007851/0.04296, allocations: 0.7204 MB / 0.4947 GB, free: 12.21 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.04298, allocations: 0 / 0.4947 GB, free: 12.21 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.677e-05/0.04303, allocations: 31.98 kB / 0.4948 GB, free: 12.18 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.04304, allocations: 17.03 kB / 0.4948 GB, free: 12.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.04337, allocations: 207.4 kB / 0.495 GB, free: 11.96 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005469/0.04884, allocations: 2.639 MB / 0.4976 GB, free: 9.246 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/0.04921, allocations: 216.3 kB / 0.4978 GB, free: 9.027 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.04932, allocations: 76.8 kB / 0.4978 GB, free: 8.949 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.04944, allocations: 35.98 kB / 0.4979 GB, free: 8.914 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006335/0.05578, allocations: 276.5 kB / 0.4981 GB, free: 8.605 MB / 474.7 MB Notification: Performance of pre-optimization done (n=39): time 3.476e-06/0.05578, allocations: 4.844 kB / 0.4981 GB, free: 8.602 MB / 474.7 MB Notification: Performance of matching and sorting (n=39): time 0.0004689/0.05625, allocations: 241.4 kB / 0.4984 GB, free: 8.363 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.05629, allocations: 67.33 kB / 0.4984 GB, free: 8.285 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004538/0.05674, allocations: 0.5637 MB / 0.499 GB, free: 7.715 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.05679, allocations: 37.7 kB / 0.499 GB, free: 7.672 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.057, allocations: 373.3 kB / 0.4994 GB, free: 7.301 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.284e-05/0.05709, allocations: 138.8 kB / 0.4995 GB, free: 7.164 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.05724, allocations: 132.3 kB / 0.4996 GB, free: 7.031 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.05736, allocations: 386.6 kB / 0.5 GB, free: 6.645 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.0575, allocations: 111.5 kB / 0.5001 GB, free: 6.523 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/0.05798, allocations: 0.6053 MB / 0.5007 GB, free: 5.758 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.05835, allocations: 412.1 kB / 0.5011 GB, free: 5.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.05835, allocations: 4 kB / 0.5011 GB, free: 5.266 MB / 474.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006547/0.0649, allocations: 461.7 kB / 0.5015 GB, free: 4.789 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/0.06494, allocations: 67.39 kB / 0.5016 GB, free: 4.711 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.06495, allocations: 8.75 kB / 0.5016 GB, free: 4.703 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.06497, allocations: 8 kB / 0.5016 GB, free: 4.695 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.06529, allocations: 129.2 kB / 0.5017 GB, free: 4.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.0653, allocations: 15.92 kB / 0.5018 GB, free: 4.555 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.06565, allocations: 80.94 kB / 0.5018 GB, free: 4.477 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.637e-05/0.0657, allocations: 31.98 kB / 0.5019 GB, free: 4.445 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 13 (DHWDisCom1_Kh.local_reset,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) * 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.0001849/0.06589, allocations: 166.9 kB / 0.502 GB, free: 4.273 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.315e-05/0.06596, allocations: 55.94 kB / 0.5021 GB, free: 4.219 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007947/0.06676, allocations: 0.5799 MB / 0.5026 GB, free: 3.641 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.06677, allocations: 7.984 kB / 0.5026 GB, free: 3.633 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.06677, allocations: 7.938 kB / 0.5027 GB, free: 3.625 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.06678, allocations: 6.562 kB / 0.5027 GB, free: 3.621 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004375/0.07115, allocations: 1.067 MB / 0.5037 GB, free: 2.484 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.07116, allocations: 0 / 0.5037 GB, free: 2.484 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.07139, allocations: 88.56 kB / 0.5038 GB, free: 2.398 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.0714, allocations: 9.281 kB / 0.5038 GB, free: 2.391 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.07143, allocations: 19.92 kB / 0.5038 GB, free: 2.371 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.07144, allocations: 8 kB / 0.5038 GB, free: 2.363 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.07144, allocations: 8.531 kB / 0.5038 GB, free: 2.355 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006952/0.07214, allocations: 0.6479 MB / 0.5045 GB, free: 1.641 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.07235, allocations: 131.7 kB / 0.5046 GB, free: 1.512 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.104e-05/0.07242, allocations: 20.59 kB / 0.5046 GB, free: 1.492 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.07268, allocations: 42 kB / 0.5046 GB, free: 1.453 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.07279, allocations: 68.31 kB / 0.5047 GB, free: 1.387 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.07283, allocations: 23.98 kB / 0.5047 GB, free: 1.363 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000229/0.07306, allocations: 260.5 kB / 0.505 GB, free: 1.109 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07306, allocations: 0 / 0.505 GB, free: 1.109 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003705/0.07676, allocations: 248.7 kB / 0.5052 GB, free: 0.8672 MB / 474.7 MB 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 (61): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003227/0.07708, allocations: 167.5 kB / 0.5054 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005481/0.07763, allocations: 467.8 kB / 0.5058 GB, free: 212 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/0.07765, allocations: 8 kB / 0.5058 GB, free: 204 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.07788, allocations: 183.4 kB / 0.506 GB, free: 20 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009385/0.07882, allocations: 292.8 kB / 0.5063 GB, free: 15.76 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005363/0.08419, allocations: 1.419 MB / 0.5077 GB, free: 14.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.08433, allocations: 184.4 kB / 0.5079 GB, free: 14.06 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003434/0.08467, allocations: 130.2 kB / 0.508 GB, free: 13.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005376/0.08521, allocations: 304.4 kB / 0.5083 GB, free: 13.65 MB / 490.7 MB Notification: Performance of SimCode: time 8.42e-07/0.08521, allocations: 3.938 kB / 0.5083 GB, free: 13.65 MB / 490.7 MB Notification: Performance of Templates: time 0.01987/0.1051, allocations: 14.92 MB / 0.5228 GB, free: 15.29 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.027760978788137]