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.0007809/0.0007809, allocations: 100.4 kB / 19.71 MB, free: 444 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.000714/0.000714, allocations: 210.9 kB / 23 MB, free: 2.973 MB / 13.93 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.8541/0.8541, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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.7161/0.7161, allocations: 203.8 MB / 0.5049 GB, free: 10.42 MB / 410.7 MB " [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: 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.0008626/0.0008626, allocations: 63.27 kB / 0.7194 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.422, allocations: 102 MB / 0.819 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.02791/0.4499, allocations: 40.21 MB / 0.8583 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005931/0.4559, allocations: 6.842 MB / 0.865 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000395/0.4563, allocations: 58.91 kB / 0.865 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0007209/0.457, allocations: 0.5014 MB / 0.8655 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001605/0.4586, allocations: 1.469 MB / 0.8669 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.4598, allocations: 1.113 MB / 0.868 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001847/0.4616, allocations: 2.56 MB / 0.8705 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006342/0.4623, allocations: 0.698 MB / 0.8712 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.4637, allocations: 1.472 MB / 0.8726 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005178/0.4642, allocations: 0.6666 MB / 0.8733 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 8.726e-05/0.4643, allocations: 86.16 kB / 0.8734 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006724/0.465, allocations: 0.6381 MB / 0.874 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.4652, allocations: 238.3 kB / 0.8742 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003089/0.4655, allocations: 419.7 kB / 0.8746 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.4666, allocations: 1.538 MB / 0.8761 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4666, allocations: 0 / 0.8761 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4666, allocations: 0 / 0.8761 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.4666, allocations: 0 / 0.8761 GB, free: 8.113 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.001304/0.4679, allocations: 1.313 MB / 0.8774 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.468, allocations: 9.375 kB / 0.8774 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.4681, allocations: 121.8 kB / 0.8775 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007652/0.4689, allocations: 0.6896 MB / 0.8782 GB, free: 6.484 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.206e-05/0.4689, allocations: 56.34 kB / 0.8783 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.75e-05/0.469, allocations: 72.16 kB / 0.8783 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009304/0.4699, allocations: 0.9383 MB / 0.8792 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.4699, allocations: 5.219 kB / 0.8793 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.47, allocations: 31.88 kB / 0.8793 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.47, allocations: 16.88 kB / 0.8793 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007989/0.4708, allocations: 0.5912 MB / 0.8799 GB, free: 5.414 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.4732, allocations: 3.095 MB / 0.8829 GB, free: 2.746 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006196/0.4738, allocations: 359.5 kB / 0.8832 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.4741, allocations: 219.8 kB / 0.8835 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002126/0.4743, allocations: 116 kB / 0.8836 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004316/0.4747, allocations: 410.6 kB / 0.884 GB, free: 2.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 1.783e-06/0.4747, allocations: 0 / 0.884 GB, free: 2.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.001022/0.4757, allocations: 0.6852 MB / 0.8846 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.4758, allocations: 60.98 kB / 0.8847 GB, free: 1.688 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/0.4763, allocations: 0.6338 MB / 0.8853 GB, free: 1.258 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.4763, allocations: 41.7 kB / 0.8853 GB, free: 1.211 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.4765, allocations: 460.1 kB / 0.8858 GB, free: 0.7578 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.888e-05/0.4766, allocations: 134.9 kB / 0.8859 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.4767, allocations: 138.2 kB / 0.886 GB, free: 496 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4768, allocations: 374.8 kB / 0.8864 GB, free: 112 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.4771, allocations: 272.5 kB / 0.8867 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/0.4776, allocations: 0.7712 MB / 0.8874 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006558/0.4783, allocations: 0.6586 MB / 0.8881 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4783, allocations: 0 / 0.8881 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001104/0.4794, allocations: 0.8209 MB / 0.8889 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.4794, allocations: 67.39 kB / 0.8889 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.4794, allocations: 16.62 kB / 0.8889 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.4794, allocations: 8 kB / 0.8889 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.4797, allocations: 135.8 kB / 0.8891 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.4797, allocations: 8 kB / 0.8891 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.4799, allocations: 95.5 kB / 0.8892 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.48, allocations: 39.98 kB / 0.8892 GB, free: 12.92 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.0002034/0.4802, allocations: 249.5 kB / 0.8894 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.4803, allocations: 79.53 kB / 0.8895 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.4815, allocations: 1.134 MB / 0.8906 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.4815, allocations: 15.98 kB / 0.8906 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4815, allocations: 0 / 0.8906 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4815, allocations: 7.922 kB / 0.8907 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.4831, allocations: 1.749 MB / 0.8924 GB, free: 9.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4831, allocations: 4.375 kB / 0.8924 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.4833, allocations: 107.8 kB / 0.8925 GB, free: 9.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.4833, allocations: 8 kB / 0.8925 GB, free: 9.473 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.4833, allocations: 19.98 kB / 0.8925 GB, free: 9.453 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.4833, allocations: 4 kB / 0.8925 GB, free: 9.449 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4833, allocations: 7.938 kB / 0.8925 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.4847, allocations: 1.443 MB / 0.8939 GB, free: 7.945 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.4848, allocations: 171.2 kB / 0.8941 GB, free: 7.777 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.4849, allocations: 16 kB / 0.8941 GB, free: 7.762 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.4851, allocations: 64 kB / 0.8942 GB, free: 7.699 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/0.4852, allocations: 76.25 kB / 0.8942 GB, free: 7.625 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.4852, allocations: 27.98 kB / 0.8943 GB, free: 7.598 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002956/0.4855, allocations: 423 kB / 0.8947 GB, free: 7.191 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8e-08/0.4855, allocations: 0 / 0.8947 GB, free: 7.191 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005201/0.4861, allocations: 351 kB / 0.895 GB, free: 6.848 MB / 0.6667 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.0003937/0.4864, allocations: 411.7 kB / 0.8954 GB, free: 6.438 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.4875, allocations: 0.8136 MB / 0.8962 GB, free: 5.594 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4875, allocations: 0 / 0.8962 GB, free: 5.594 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004798/0.488, allocations: 423.4 kB / 0.8966 GB, free: 5.18 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007184/0.4887, allocations: 283.8 kB / 0.8969 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.4902, allocations: 1.668 MB / 0.8985 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.4904, allocations: 433.3 kB / 0.8989 GB, free: 2.703 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.4906, allocations: 79.39 kB / 0.899 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of SimCode: time 4.21e-07/0.4906, allocations: 0 / 0.899 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of Templates: time 0.0117/0.5023, allocations: 15.78 MB / 0.9144 GB, free: 2.949 MB / 0.6823 GB " [Timeout remaining time 659] 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.256163747049868] Failed to read output from testmodel.py, exit status != 0: 0.5081097832880914 0.515520554 0.04730705499999994 Calling exit ...