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.001393/0.001393, allocations: 92.7 kB / 19.44 MB, free: 324 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.001576/0.001576, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.545/1.545, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 1.225/1.225, allocations: 154.8 MB / 414.4 MB, free: 460 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 178] 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 2.364e-06/2.364e-06, allocations: 0 / 0.5198 GB, free: 2.305 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.995e-05/4.231e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.301 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.05406/0.0541, allocations: 39.85 MB / 0.5588 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01263/0.06673, allocations: 6.873 MB / 0.5655 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.06836, allocations: 55.5 kB / 0.5655 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.06993, allocations: 0.5096 MB / 0.566 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.004859/0.07479, allocations: 1.518 MB / 0.5675 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.003647/0.07843, allocations: 1.19 MB / 0.5687 GB, free: 348 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.004288/0.08272, allocations: 2.529 MB / 0.5711 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.08419, allocations: 0.7146 MB / 0.5718 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004214/0.08841, allocations: 1.764 MB / 0.5736 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.08955, allocations: 0.5918 MB / 0.5741 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.0897, allocations: 80 kB / 0.5742 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.09148, allocations: 0.6507 MB / 0.5748 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.09178, allocations: 247 kB / 0.5751 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005352/0.09232, allocations: 351.1 kB / 0.5754 GB, free: 9.41 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002643/0.09496, allocations: 1.534 MB / 0.5769 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.09496, allocations: 0 / 0.5769 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.333e-06/0.09497, allocations: 0 / 0.5769 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.09498, allocations: 4 kB / 0.5769 GB, free: 7.867 MB / 0.5417 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.002381/0.09736, allocations: 1.301 MB / 0.5782 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.0974, allocations: 12.03 kB / 0.5782 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003503/0.09775, allocations: 176.3 kB / 0.5784 GB, free: 6.332 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.09911, allocations: 0.7473 MB / 0.5791 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.125e-05/0.09918, allocations: 62.36 kB / 0.5792 GB, free: 5.492 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.09931, allocations: 68.38 kB / 0.5792 GB, free: 5.426 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.1011, allocations: 0.9384 MB / 0.5801 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.1011, allocations: 4 kB / 0.5801 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.349e-05/0.1012, allocations: 28 kB / 0.5802 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/0.1013, allocations: 16 kB / 0.5802 GB, free: 4.355 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.1028, allocations: 0.5904 MB / 0.5808 GB, free: 3.762 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00428/0.1071, allocations: 3.109 MB / 0.5838 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.1083, allocations: 366.2 kB / 0.5841 GB, free: 184 kB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005896/0.1089, allocations: 208.7 kB / 0.5843 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004093/0.1093, allocations: 119.9 kB / 0.5845 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008427/0.1101, allocations: 407.8 kB / 0.5848 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=39): time 1.924e-06/0.1101, allocations: 0 / 0.5848 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of matching and sorting (n=39): time 0.002076/0.1122, allocations: 0.7104 MB / 0.5855 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.1123, allocations: 59.41 kB / 0.5856 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009013/0.1132, allocations: 0.6215 MB / 0.5862 GB, free: 14 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-05/0.1132, allocations: 37.7 kB / 0.5862 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004778/0.1137, allocations: 468.1 kB / 0.5867 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.1139, allocations: 126.9 kB / 0.5868 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002473/0.1141, allocations: 130.3 kB / 0.5869 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003395/0.1145, allocations: 386.7 kB / 0.5873 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006597/0.1151, allocations: 268.6 kB / 0.5876 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.1162, allocations: 0.77 MB / 0.5883 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.1176, allocations: 0.6649 MB / 0.589 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1176, allocations: 0 / 0.589 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001973/0.1196, allocations: 0.8526 MB / 0.5898 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.405e-05/0.1197, allocations: 59.41 kB / 0.5898 GB, free: 9.938 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.1197, allocations: 8 kB / 0.5899 GB, free: 9.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.478e-05/0.1197, allocations: 8 kB / 0.5899 GB, free: 9.922 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/0.1203, allocations: 135.8 kB / 0.59 GB, free: 9.789 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.563e-05/0.1203, allocations: 15.92 kB / 0.59 GB, free: 9.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006864/0.121, allocations: 95.78 kB / 0.5901 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/0.1211, allocations: 39.98 kB / 0.5901 GB, free: 9.641 MB / 0.5573 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.0004623/0.1215, allocations: 241.6 kB / 0.5904 GB, free: 9.395 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.1217, allocations: 91.48 kB / 0.5905 GB, free: 9.305 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/0.1242, allocations: 1.127 MB / 0.5916 GB, free: 8.172 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.1242, allocations: 8 kB / 0.5916 GB, free: 8.164 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1242, allocations: 0 / 0.5916 GB, free: 8.164 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.1242, allocations: 7.984 kB / 0.5916 GB, free: 8.156 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.1276, allocations: 1.765 MB / 0.5933 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.1276, allocations: 11.88 kB / 0.5933 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/0.128, allocations: 99.86 kB / 0.5934 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/0.128, allocations: 4 kB / 0.5934 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.752e-05/0.1281, allocations: 19.98 kB / 0.5934 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/0.1281, allocations: 11.94 kB / 0.5934 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.1281, allocations: 4 kB / 0.5934 GB, free: 6.172 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003011/0.1311, allocations: 1.459 MB / 0.5949 GB, free: 4.664 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003962/0.1315, allocations: 179.1 kB / 0.595 GB, free: 4.488 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.1316, allocations: 24 kB / 0.5951 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/0.1321, allocations: 55.92 kB / 0.5951 GB, free: 4.41 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.1323, allocations: 72.27 kB / 0.5952 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-05/0.1324, allocations: 31.97 kB / 0.5952 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006485/0.133, allocations: 427 kB / 0.5956 GB, free: 3.895 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1e-07/0.133, allocations: 4.062 kB / 0.5956 GB, free: 3.891 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001218/0.1342, allocations: 343 kB / 0.5959 GB, free: 3.555 MB / 0.5573 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.0007922/0.135, allocations: 426.3 kB / 0.5964 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001812/0.1368, allocations: 0.8089 MB / 0.5971 GB, free: 2.277 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1368, allocations: 0 / 0.5971 GB, free: 2.277 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.1379, allocations: 440.3 kB / 0.5976 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.1393, allocations: 295.5 kB / 0.5978 GB, free: 1.578 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.1423, allocations: 1.639 MB / 0.5994 GB, free: 15.86 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/0.1428, allocations: 429.3 kB / 0.5999 GB, free: 15.41 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005048/0.1433, allocations: 157.5 kB / 0.6 GB, free: 15.25 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.1436, allocations: 76.47 kB / 0.6001 GB, free: 15.18 MB / 0.573 GB Notification: Performance of SimCode: time 5.11e-07/0.1436, allocations: 0 / 0.6001 GB, free: 15.18 MB / 0.573 GB Notification: Performance of Templates: time 0.05266/0.1962, allocations: 16.84 MB / 0.6165 GB, free: 14.68 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.62881359399762]