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.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.0009552/0.0009552, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.0009927/0.0009927, allocations: 173 kB / 23.36 MB, free: 0.9727 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.9893/0.9893, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.793/0.793, allocations: 154.9 MB / 415.1 MB, free: 240 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_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 1.382e-06/1.382e-06, allocations: 0 / 480.4 MB, free: 6.543 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.878e-05, allocations: 2.938 kB / 480.4 MB, free: 6.539 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.008812/0.00883, allocations: 11.31 MB / 491.7 MB, free: 11.26 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004522/0.01335, allocations: 3.56 MB / 495.3 MB, free: 7.734 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004321/0.01378, allocations: 60.06 kB / 495.3 MB, free: 7.676 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004992/0.01428, allocations: 302.3 kB / 495.6 MB, free: 7.379 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001242/0.01553, allocations: 0.9007 MB / 496.5 MB, free: 6.48 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.01668, allocations: 1.028 MB / 497.5 MB, free: 5.457 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001845/0.01853, allocations: 2.492 MB / 0.4883 GB, free: 2.961 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006364/0.01916, allocations: 0.7073 MB / 0.489 GB, free: 2.238 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009535/0.02012, allocations: 1.167 MB / 0.4901 GB, free: 1.07 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005008/0.02062, allocations: 0.5587 MB / 0.4907 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.136e-05/0.0207, allocations: 80 kB / 0.4908 GB, free: 444 kB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.02102, allocations: 239.6 kB / 0.491 GB, free: 204 kB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.02119, allocations: 253.5 kB / 0.4912 GB, free: 15.95 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.02143, allocations: 347.2 kB / 0.4916 GB, free: 15.61 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006892/0.02212, allocations: 0.8328 MB / 0.4924 GB, free: 14.78 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.02212, allocations: 4 kB / 0.4924 GB, free: 14.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.02212, allocations: 0 / 0.4924 GB, free: 14.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.02213, allocations: 0 / 0.4924 GB, free: 14.77 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.001033/0.02316, allocations: 1.224 MB / 0.4936 GB, free: 13.51 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.02319, allocations: 12.53 kB / 0.4936 GB, free: 13.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.02332, allocations: 128.8 kB / 0.4937 GB, free: 13.38 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006262/0.02394, allocations: 0.6095 MB / 0.4943 GB, free: 12.74 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.02398, allocations: 62.31 kB / 0.4944 GB, free: 12.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/0.02405, allocations: 72.38 kB / 0.4944 GB, free: 12.61 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.02508, allocations: 0.7164 MB / 0.4951 GB, free: 11.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.02509, allocations: 4 kB / 0.4951 GB, free: 11.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.02513, allocations: 28 kB / 0.4952 GB, free: 11.77 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.02514, allocations: 17.17 kB / 0.4952 GB, free: 11.76 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002513/0.02539, allocations: 211.5 kB / 0.4954 GB, free: 11.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.0271, allocations: 2.64 MB / 0.498 GB, free: 8.832 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.02738, allocations: 221 kB / 0.4982 GB, free: 8.609 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.404e-05/0.02747, allocations: 71.23 kB / 0.4982 GB, free: 8.539 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-05/0.02756, allocations: 44.72 kB / 0.4983 GB, free: 8.496 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.02778, allocations: 271.6 kB / 0.4985 GB, free: 8.195 MB / 474.7 MB Notification: Performance of pre-optimization done (n=39): time 1.473e-06/0.02778, allocations: 0.5938 kB / 0.4985 GB, free: 8.195 MB / 474.7 MB Notification: Performance of matching and sorting (n=39): time 0.0003218/0.0281, allocations: 253.9 kB / 0.4988 GB, free: 7.945 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.02813, allocations: 59.34 kB / 0.4988 GB, free: 7.875 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.02844, allocations: 0.5583 MB / 0.4994 GB, free: 7.309 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.02847, allocations: 37.7 kB / 0.4994 GB, free: 7.266 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.02863, allocations: 374.6 kB / 0.4998 GB, free: 6.895 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.001e-05/0.0287, allocations: 138.8 kB / 0.4999 GB, free: 6.758 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.02881, allocations: 126.2 kB / 0.5 GB, free: 6.629 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.02892, allocations: 394.6 kB / 0.5004 GB, free: 6.234 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.02903, allocations: 112.9 kB / 0.5005 GB, free: 6.113 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.02929, allocations: 0.6059 MB / 0.5011 GB, free: 5.344 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.02957, allocations: 404.2 kB / 0.5015 GB, free: 4.863 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.02958, allocations: 0.75 kB / 0.5015 GB, free: 4.863 MB / 474.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006023/0.03018, allocations: 473.8 kB / 0.502 GB, free: 4.375 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.03021, allocations: 63.39 kB / 0.502 GB, free: 4.301 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.03022, allocations: 8 kB / 0.502 GB, free: 4.293 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.03023, allocations: 8 kB / 0.502 GB, free: 4.285 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.03048, allocations: 135.8 kB / 0.5022 GB, free: 4.152 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.03049, allocations: 16.5 kB / 0.5022 GB, free: 4.137 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.03071, allocations: 82.02 kB / 0.5023 GB, free: 4.059 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/0.03076, allocations: 35.97 kB / 0.5023 GB, free: 4.023 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.0001344/0.03089, allocations: 160.9 kB / 0.5024 GB, free: 3.855 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.03095, allocations: 57.44 kB / 0.5025 GB, free: 3.801 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006211/0.03157, allocations: 0.5759 MB / 0.5031 GB, free: 3.227 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.03158, allocations: 15.94 kB / 0.5031 GB, free: 3.211 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.03158, allocations: 0 / 0.5031 GB, free: 3.211 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.03159, allocations: 4.578 kB / 0.5031 GB, free: 3.207 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009404/0.03253, allocations: 1.06 MB / 0.5041 GB, free: 2.074 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.03253, allocations: 4 kB / 0.5041 GB, free: 2.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.03271, allocations: 91.83 kB / 0.5042 GB, free: 1.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.03271, allocations: 9.266 kB / 0.5042 GB, free: 1.973 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.03274, allocations: 19.94 kB / 0.5042 GB, free: 1.953 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.03275, allocations: 7.984 kB / 0.5042 GB, free: 1.945 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.03275, allocations: 7.938 kB / 0.5042 GB, free: 1.938 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.03326, allocations: 0.6573 MB / 0.5049 GB, free: 1.215 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.0334, allocations: 132.1 kB / 0.505 GB, free: 1.086 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.029e-05/0.03345, allocations: 19.94 kB / 0.505 GB, free: 1.066 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.03363, allocations: 36.94 kB / 0.5051 GB, free: 1.031 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.03371, allocations: 65.89 kB / 0.5051 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.03374, allocations: 23.98 kB / 0.5052 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.03391, allocations: 260.5 kB / 0.5054 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03391, allocations: 0 / 0.5054 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003926/0.0343, allocations: 255.9 kB / 0.5056 GB, free: 452 kB / 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.0002141/0.03452, allocations: 170.4 kB / 0.5058 GB, free: 280 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003831/0.0349, allocations: 463.5 kB / 0.5063 GB, free: 15.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/0.03491, allocations: 8 kB / 0.5063 GB, free: 15.78 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.03509, allocations: 180.1 kB / 0.5064 GB, free: 15.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006537/0.03574, allocations: 300.7 kB / 0.5067 GB, free: 15.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.03727, allocations: 1.425 MB / 0.5081 GB, free: 13.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.03737, allocations: 184.4 kB / 0.5083 GB, free: 13.64 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002338/0.03761, allocations: 116.5 kB / 0.5084 GB, free: 13.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008986/0.03851, allocations: 309.5 kB / 0.5087 GB, free: 13.23 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/0.03851, allocations: 4 kB / 0.5087 GB, free: 13.23 MB / 490.7 MB Notification: Performance of Templates: time 0.01623/0.05474, allocations: 14.93 MB / 0.5233 GB, free: 14.83 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.889395979233086]