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.001682/0.001682, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.00179/0.00179, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9771/0.9771, allocations: 177.1 MB / 203.5 MB, free: 5.738 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-531:190: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-531:198: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.7312/0.7312, allocations: 154.5 MB / 414.5 MB, free: 0.8516 MB / 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 2.104e-06/2.104e-06, allocations: 0 / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.183e-05, allocations: 9.234 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.02777/0.0278, allocations: 39.84 MB / 0.6582 GB, free: 5.215 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008872/0.03668, allocations: 6.877 MB / 0.6649 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.03828, allocations: 59.44 kB / 0.6649 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.03971, allocations: 0.504 MB / 0.6654 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003198/0.04291, allocations: 1.511 MB / 0.6669 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.04505, allocations: 1.208 MB / 0.6681 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00208/0.04713, allocations: 2.525 MB / 0.6706 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000769/0.0479, allocations: 0.6996 MB / 0.6712 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001997/0.04989, allocations: 1.752 MB / 0.673 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005713/0.05047, allocations: 0.5879 MB / 0.6735 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.865e-05/0.05056, allocations: 88 kB / 0.6736 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.05162, allocations: 0.6623 MB / 0.6743 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.0518, allocations: 239 kB / 0.6745 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002704/0.05207, allocations: 347.1 kB / 0.6748 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.05348, allocations: 1.542 MB / 0.6763 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.05348, allocations: 0 / 0.6763 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.893e-06/0.05348, allocations: 0 / 0.6763 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.0535, allocations: 0 / 0.6763 GB, free: 2.57 MB / 0.6355 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.00145/0.05495, allocations: 1.313 MB / 0.6776 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.05499, allocations: 9.469 kB / 0.6776 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.05515, allocations: 116.3 kB / 0.6777 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008486/0.05599, allocations: 0.6889 MB / 0.6784 GB, free: 380 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/0.05604, allocations: 50.38 kB / 0.6784 GB, free: 332 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-05/0.05611, allocations: 72.38 kB / 0.6785 GB, free: 260 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3134/0.3696, allocations: 0.9366 MB / 0.6794 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.3696, allocations: 1.875 kB / 0.6794 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.439e-05/0.3696, allocations: 33.72 kB / 0.6795 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.3696, allocations: 17.38 kB / 0.6795 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007755/0.3704, allocations: 0.5919 MB / 0.6801 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.3726, allocations: 3.068 MB / 0.6831 GB, free: 98.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006112/0.3732, allocations: 366.2 kB / 0.6834 GB, free: 98.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.3735, allocations: 218 kB / 0.6836 GB, free: 98.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000251/0.3737, allocations: 111.9 kB / 0.6837 GB, free: 98.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003995/0.3741, allocations: 409.9 kB / 0.6841 GB, free: 98.17 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 2.554e-06/0.3741, allocations: 0 / 0.6841 GB, free: 98.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.001006/0.3751, allocations: 0.6888 MB / 0.6848 GB, free: 97.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.3751, allocations: 58 kB / 0.6848 GB, free: 97.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004388/0.3756, allocations: 0.6235 MB / 0.6854 GB, free: 97.61 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.3756, allocations: 35.42 kB / 0.6855 GB, free: 97.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.3758, allocations: 467.5 kB / 0.6859 GB, free: 97.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.02e-05/0.3759, allocations: 137.7 kB / 0.6861 GB, free: 97.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.376, allocations: 134.8 kB / 0.6862 GB, free: 97.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.017e-05/0.3761, allocations: 383.3 kB / 0.6865 GB, free: 96.76 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.3763, allocations: 270.3 kB / 0.6868 GB, free: 96.64 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/0.3767, allocations: 0.7693 MB / 0.6876 GB, free: 95.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000612/0.3774, allocations: 0.6612 MB / 0.6882 GB, free: 95.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3774, allocations: 0 / 0.6882 GB, free: 95.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008385/0.3782, allocations: 0.8149 MB / 0.689 GB, free: 95.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/0.3782, allocations: 67.45 kB / 0.6891 GB, free: 95.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3783, allocations: 5.781 kB / 0.6891 GB, free: 95.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3783, allocations: 11.62 kB / 0.6891 GB, free: 95.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.3785, allocations: 140 kB / 0.6892 GB, free: 95.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.3785, allocations: 12.2 kB / 0.6892 GB, free: 95.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.3788, allocations: 94.16 kB / 0.6893 GB, free: 94.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/0.3789, allocations: 39.48 kB / 0.6894 GB, free: 94.98 MB / 0.6355 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.0001922/0.379, allocations: 250.3 kB / 0.6896 GB, free: 94.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/0.3791, allocations: 81 kB / 0.6897 GB, free: 94.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.3803, allocations: 1.115 MB / 0.6908 GB, free: 94.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/0.3803, allocations: 15.77 kB / 0.6908 GB, free: 94.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3803, allocations: 1.438 kB / 0.6908 GB, free: 94.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.3803, allocations: 3.281 kB / 0.6908 GB, free: 94.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.3818, allocations: 1.768 MB / 0.6925 GB, free: 93.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.3818, allocations: 2.844 kB / 0.6925 GB, free: 93.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.382, allocations: 106.8 kB / 0.6926 GB, free: 93.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.382, allocations: 5.688 kB / 0.6926 GB, free: 93.56 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.3821, allocations: 19.8 kB / 0.6926 GB, free: 93.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.3821, allocations: 6.172 kB / 0.6926 GB, free: 93.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3821, allocations: 2.844 kB / 0.6926 GB, free: 93.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.3834, allocations: 1.438 MB / 0.694 GB, free: 92.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.3835, allocations: 179.1 kB / 0.6942 GB, free: 92.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.096e-05/0.3836, allocations: 17.03 kB / 0.6942 GB, free: 92.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.3838, allocations: 58.17 kB / 0.6943 GB, free: 92.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3839, allocations: 77.14 kB / 0.6944 GB, free: 92.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.3839, allocations: 27.36 kB / 0.6944 GB, free: 92.76 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002835/0.3842, allocations: 426 kB / 0.6948 GB, free: 92.58 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.3842, allocations: 0 / 0.6948 GB, free: 92.58 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006809/0.3849, allocations: 344.6 kB / 0.6951 GB, free: 92.5 MB / 0.6355 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.0004929/0.3854, allocations: 427.1 kB / 0.6955 GB, free: 92.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008087/0.3862, allocations: 0.8172 MB / 0.6963 GB, free: 91.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3862, allocations: 0 / 0.6963 GB, free: 91.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004549/0.3866, allocations: 424.4 kB / 0.6967 GB, free: 91.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007665/0.3874, allocations: 282.7 kB / 0.697 GB, free: 91.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.3889, allocations: 1.656 MB / 0.6986 GB, free: 90.83 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.3891, allocations: 433.3 kB / 0.699 GB, free: 90.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.3892, allocations: 80.25 kB / 0.6991 GB, free: 90.69 MB / 0.6355 GB Notification: Performance of SimCode: time 7.11e-07/0.3892, allocations: 0 / 0.6991 GB, free: 90.69 MB / 0.6355 GB Notification: Performance of Templates: time 0.016/0.4052, allocations: 15.89 MB / 0.7146 GB, free: 88.52 MB / 0.6355 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: 7.083576024509966] Failed to read output from testmodel.py, exit status != 0: 0.4118657633662224 0.421092722 0.365546697 Calling exit ...