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.001011/0.001011, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0008354/0.0008354, allocations: 207.8 kB / 23 MB, free: 3.117 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.9293/0.9293, allocations: 230.6 MB / 256.8 MB, free: 3.496 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.7459/0.7459, allocations: 203.8 MB / 0.5049 GB, free: 0.75 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.001337/0.001337, allocations: 66.08 kB / 0.7194 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4607/0.4621, allocations: 102 MB / 0.8191 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.02724/0.4893, allocations: 44.37 MB / 0.8624 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.007202/0.4965, allocations: 7.371 MB / 0.8696 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009073/0.4974, allocations: 55.5 kB / 0.8697 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.4984, allocations: 0.4924 MB / 0.8701 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00245/0.5009, allocations: 1.509 MB / 0.8716 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.5026, allocations: 1.167 MB / 0.8728 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001937/0.5045, allocations: 2.564 MB / 0.8753 GB, free: 4.902 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006956/0.5052, allocations: 0.6997 MB / 0.8759 GB, free: 4.188 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/0.507, allocations: 1.471 MB / 0.8774 GB, free: 2.711 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005627/0.5076, allocations: 0.7039 MB / 0.8781 GB, free: 2.004 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 8.634e-05/0.5077, allocations: 84 kB / 0.8781 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.5089, allocations: 0.8617 MB / 0.879 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.5091, allocations: 231.1 kB / 0.8792 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003311/0.5094, allocations: 0.5092 MB / 0.8797 GB, free: 328 kB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.5108, allocations: 1.564 MB / 0.8812 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5108, allocations: 3.984 kB / 0.8812 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5108, allocations: 0 / 0.8812 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.5108, allocations: 4 kB / 0.8812 GB, free: 14.75 MB / 0.6667 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.001331/0.5121, allocations: 1.309 MB / 0.8825 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.5122, allocations: 12.03 kB / 0.8825 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.5123, allocations: 116.2 kB / 0.8826 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008014/0.5131, allocations: 0.6935 MB / 0.8833 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.013e-05/0.5131, allocations: 66.12 kB / 0.8834 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.151e-05/0.5132, allocations: 68 kB / 0.8834 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009043/0.5141, allocations: 0.8339 MB / 0.8843 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.5141, allocations: 4 kB / 0.8843 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.5142, allocations: 28 kB / 0.8843 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.5142, allocations: 16 kB / 0.8843 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007724/0.515, allocations: 0.5943 MB / 0.8849 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/0.5175, allocations: 3.945 MB / 0.8887 GB, free: 6.68 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006174/0.5181, allocations: 360 kB / 0.8891 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.5184, allocations: 216.7 kB / 0.8893 GB, free: 6.105 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/0.5186, allocations: 107.9 kB / 0.8894 GB, free: 6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004024/0.519, allocations: 310.6 kB / 0.8897 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=39): time 2.324e-06/0.519, allocations: 0 / 0.8897 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39): time 0.0009812/0.52, allocations: 0.6933 MB / 0.8904 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.52, allocations: 59.34 kB / 0.8904 GB, free: 4.914 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005635/0.5206, allocations: 0.7277 MB / 0.8911 GB, free: 4.176 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.5206, allocations: 45.58 kB / 0.8912 GB, free: 4.125 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.5208, allocations: 468.4 kB / 0.8916 GB, free: 3.66 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.294e-05/0.5209, allocations: 130.9 kB / 0.8917 GB, free: 3.531 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.521, allocations: 138.2 kB / 0.8919 GB, free: 3.391 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.65e-05/0.5211, allocations: 330 kB / 0.8922 GB, free: 3.062 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003051/0.5214, allocations: 213.2 kB / 0.8924 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.5218, allocations: 424.6 kB / 0.8928 GB, free: 2.363 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006676/0.5225, allocations: 0.6546 MB / 0.8934 GB, free: 1.617 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5225, allocations: 0 / 0.8934 GB, free: 1.617 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009008/0.5234, allocations: 0.7765 MB / 0.8942 GB, free: 0.8242 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/0.5235, allocations: 67.39 kB / 0.8943 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.5235, allocations: 4 kB / 0.8943 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5235, allocations: 12 kB / 0.8943 GB, free: 0.7305 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.5237, allocations: 131.7 kB / 0.8944 GB, free: 0.6016 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.5237, allocations: 15.94 kB / 0.8944 GB, free: 0.5859 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.524, allocations: 103.6 kB / 0.8945 GB, free: 496 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.5241, allocations: 43.97 kB / 0.8946 GB, free: 452 kB / 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.0002189/0.5243, allocations: 245.6 kB / 0.8948 GB, free: 196 kB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.408e-05/0.5244, allocations: 91.42 kB / 0.8949 GB, free: 104 kB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.5256, allocations: 1.139 MB / 0.896 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.5256, allocations: 16 kB / 0.896 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5256, allocations: 3.938 kB / 0.896 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.5257, allocations: 3.984 kB / 0.896 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.5274, allocations: 1.92 MB / 0.8979 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.5274, allocations: 4 kB / 0.8979 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.5276, allocations: 99.81 kB / 0.898 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.5276, allocations: 4 kB / 0.898 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.5276, allocations: 23.98 kB / 0.898 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.5276, allocations: 7.984 kB / 0.898 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5276, allocations: 7.938 kB / 0.898 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.529, allocations: 1.447 MB / 0.8994 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.5292, allocations: 187 kB / 0.8996 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.599e-05/0.5293, allocations: 12 kB / 0.8996 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.5295, allocations: 67.88 kB / 0.8997 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.751e-05/0.5296, allocations: 76.38 kB / 0.8998 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.5296, allocations: 27.98 kB / 0.8998 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003699/0.53, allocations: 499 kB / 0.9003 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6e-08/0.53, allocations: 0 / 0.9003 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006107/0.5306, allocations: 339.1 kB / 0.9006 GB, free: 10.1 MB / 0.6823 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.0004494/0.5311, allocations: 407.6 kB / 0.901 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008474/0.5319, allocations: 0.7634 MB / 0.9017 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5319, allocations: 0 / 0.9017 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000491/0.5324, allocations: 423.4 kB / 0.9021 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008895/0.5333, allocations: 369.3 kB / 0.9025 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.5349, allocations: 1.684 MB / 0.9041 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.5353, allocations: 1.014 MB / 0.9051 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.5354, allocations: 87.41 kB / 0.9052 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of SimCode: time 6.31e-07/0.5354, allocations: 0 / 0.9052 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of Templates: time 0.01297/0.5484, allocations: 16.5 MB / 0.9213 GB, free: 4.898 MB / 0.698 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: 7.117731071077287] Failed to read output from testmodel.py, exit status != 0: 0.5552376939449459 0.561901499 0.049352211 Calling exit ...