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.0009633/0.0009633, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00101/0.00101, allocations: 177 kB / 23.5 MB, free: 1.055 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.017/1.017, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.8024/0.8024, allocations: 154.8 MB / 415.1 MB, free: 500 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 2.084e-06/2.084e-06, allocations: 0 / 0.5206 GB, free: 2.289 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/3.019e-05, allocations: 6.25 kB / 0.5206 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.03401/0.03404, allocations: 45.15 MB / 0.5646 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.009757/0.0438, allocations: 7.577 MB / 0.572 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.04547, allocations: 59.44 kB / 0.5721 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.04665, allocations: 0.4963 MB / 0.5726 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003157/0.04981, allocations: 1.517 MB / 0.5741 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.05193, allocations: 1.203 MB / 0.5752 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002573/0.0545, allocations: 2.521 MB / 0.5777 GB, free: 7.77 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009248/0.05543, allocations: 0.7298 MB / 0.5784 GB, free: 7.035 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/0.05776, allocations: 1.756 MB / 0.5801 GB, free: 5.273 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006822/0.05844, allocations: 0.5958 MB / 0.5807 GB, free: 4.676 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.05854, allocations: 84 kB / 0.5808 GB, free: 4.594 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.05992, allocations: 0.6622 MB / 0.5814 GB, free: 3.93 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.06014, allocations: 247 kB / 0.5817 GB, free: 3.688 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003634/0.0605, allocations: 347.1 kB / 0.582 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.06232, allocations: 1.148 MB / 0.5831 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.06233, allocations: 0 / 0.5831 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.693e-06/0.06233, allocations: 0 / 0.5831 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.06235, allocations: 0 / 0.5831 GB, free: 2.195 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.001569/0.06392, allocations: 1.401 MB / 0.5845 GB, free: 0.7383 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.06397, allocations: 16.03 kB / 0.5845 GB, free: 0.7227 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002552/0.06422, allocations: 168.2 kB / 0.5847 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008737/0.0651, allocations: 0.7477 MB / 0.5854 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.842e-05/0.06514, allocations: 54.38 kB / 0.5855 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-05/0.06522, allocations: 72.38 kB / 0.5855 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008932/0.06612, allocations: 0.793 MB / 0.5863 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.06613, allocations: 3.938 kB / 0.5863 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.685e-05/0.06618, allocations: 28 kB / 0.5863 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.0662, allocations: 20 kB / 0.5864 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004855/0.06668, allocations: 267.4 kB / 0.5866 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/0.06942, allocations: 3.921 MB / 0.5904 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004621/0.06988, allocations: 190.9 kB / 0.5906 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.07002, allocations: 91.58 kB / 0.5907 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.0703, allocations: 119.9 kB / 0.5908 GB, free: 9.973 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000326/0.07063, allocations: 278.3 kB / 0.5911 GB, free: 9.66 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=39): time 3.978e-06/0.07063, allocations: 0 / 0.5911 GB, free: 9.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=39): time 0.0006807/0.07131, allocations: 379.8 kB / 0.5914 GB, free: 9.285 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.07136, allocations: 63.34 kB / 0.5915 GB, free: 9.211 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000477/0.07183, allocations: 0.6243 MB / 0.5921 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.07187, allocations: 37.7 kB / 0.5922 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.07213, allocations: 0.495 MB / 0.5926 GB, free: 8.023 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.103e-05/0.07221, allocations: 134.9 kB / 0.5928 GB, free: 7.891 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.07235, allocations: 139.9 kB / 0.5929 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.07251, allocations: 0.5547 MB / 0.5934 GB, free: 7.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.0727, allocations: 132.7 kB / 0.5936 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/0.07309, allocations: 0.7013 MB / 0.5943 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/0.07354, allocations: 480.2 kB / 0.5947 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.07354, allocations: 4 kB / 0.5947 GB, free: 5.551 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000776/0.07432, allocations: 0.6025 MB / 0.5953 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/0.07437, allocations: 59.41 kB / 0.5954 GB, free: 4.848 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.07438, allocations: 8 kB / 0.5954 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.0744, allocations: 8 kB / 0.5954 GB, free: 4.832 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.07468, allocations: 131.8 kB / 0.5955 GB, free: 4.703 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.07469, allocations: 8 kB / 0.5955 GB, free: 4.695 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.075, allocations: 91.91 kB / 0.5956 GB, free: 4.605 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/0.07505, allocations: 31.98 kB / 0.5956 GB, free: 4.574 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.0001947/0.07524, allocations: 212.2 kB / 0.5958 GB, free: 4.355 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-05/0.07533, allocations: 87.53 kB / 0.5959 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009954/0.07633, allocations: 0.7715 MB / 0.5967 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.07635, allocations: 11.98 kB / 0.5967 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.07635, allocations: 0 / 0.5967 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.07636, allocations: 3.984 kB / 0.5967 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.07792, allocations: 1.407 MB / 0.5981 GB, free: 1.977 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/0.07794, allocations: 12.08 kB / 0.5981 GB, free: 1.965 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.07816, allocations: 91.81 kB / 0.5982 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.07817, allocations: 4 kB / 0.5982 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.07821, allocations: 27.98 kB / 0.5982 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/0.07821, allocations: 8 kB / 0.5982 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.07822, allocations: 7.938 kB / 0.5982 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.07928, allocations: 0.8985 MB / 0.5991 GB, free: 0.8633 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.0795, allocations: 171.2 kB / 0.5992 GB, free: 0.6953 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.07956, allocations: 20 kB / 0.5993 GB, free: 0.6758 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.07977, allocations: 35.97 kB / 0.5993 GB, free: 0.6406 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.07988, allocations: 72.31 kB / 0.5994 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/0.07993, allocations: 35.98 kB / 0.5994 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000345/0.08027, allocations: 395 kB / 0.5998 GB, free: 160 kB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.08027, allocations: 0 / 0.5998 GB, free: 160 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009245/0.0812, allocations: 347 kB / 0.6001 GB, free: 15.82 MB / 0.573 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.0007293/0.08193, allocations: 430.3 kB / 0.6005 GB, free: 15.39 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006978/0.08263, allocations: 0.5141 MB / 0.601 GB, free: 14.83 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.08263, allocations: 0 / 0.601 GB, free: 14.83 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003065/0.08293, allocations: 249.2 kB / 0.6013 GB, free: 14.59 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000877/0.08381, allocations: 298.8 kB / 0.6015 GB, free: 14.31 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.08607, allocations: 1.51 MB / 0.603 GB, free: 12.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.0862, allocations: 196.6 kB / 0.6032 GB, free: 12.49 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003402/0.08654, allocations: 145.5 kB / 0.6033 GB, free: 12.35 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.08666, allocations: 72.47 kB / 0.6034 GB, free: 12.28 MB / 0.573 GB Notification: Performance of SimCode: time 1.533e-06/0.08666, allocations: 4 kB / 0.6034 GB, free: 12.27 MB / 0.573 GB Notification: Performance of Templates: time 0.01942/0.1061, allocations: 16.92 MB / 0.6199 GB, free: 11.7 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1991573688574135]