Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001418/0.001418, 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.001758/0.001758, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.012/1.012, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7976/0.7976, allocations: 154.6 MB / 414.9 MB, free: 0.6875 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Fluid.Taps.Examples.Tap") translateModel(IDEAS.Fluid.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.Tap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.5203 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.096e-05, allocations: 4.422 kB / 0.5203 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.0315/0.03153, allocations: 45.14 MB / 0.5644 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.008837/0.04036, allocations: 7.583 MB / 0.5718 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008979/0.04126, allocations: 60.44 kB / 0.5719 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.04229, allocations: 0.5001 MB / 0.5724 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.04484, allocations: 1.508 MB / 0.5738 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.04662, allocations: 1.209 MB / 0.575 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001828/0.04845, allocations: 2.524 MB / 0.5775 GB, free: 8.016 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000744/0.04919, allocations: 0.7234 MB / 0.5782 GB, free: 7.285 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/0.05114, allocations: 1.764 MB / 0.5799 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005887/0.05173, allocations: 0.5996 MB / 0.5805 GB, free: 4.914 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 9.519e-05/0.05182, allocations: 80 kB / 0.5806 GB, free: 4.836 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009795/0.0528, allocations: 0.6507 MB / 0.5812 GB, free: 4.184 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.05299, allocations: 250.9 kB / 0.5814 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.05326, allocations: 351.1 kB / 0.5818 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.0544, allocations: 1.145 MB / 0.5829 GB, free: 2.445 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.05441, allocations: 4 kB / 0.5829 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.402e-06/0.05441, allocations: 0 / 0.5829 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.05442, allocations: 0 / 0.5829 GB, free: 2.441 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.001279/0.0557, allocations: 1.397 MB / 0.5843 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.05574, allocations: 8.031 kB / 0.5843 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.05593, allocations: 180.2 kB / 0.5844 GB, free: 0.8047 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007269/0.05666, allocations: 0.747 MB / 0.5852 GB, free: 24 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.05672, allocations: 50.45 kB / 0.5852 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.457e-05/0.0568, allocations: 76.38 kB / 0.5853 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007908/0.05759, allocations: 0.7916 MB / 0.5861 GB, free: 15 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.05761, allocations: 7.938 kB / 0.5861 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.705e-05/0.05766, allocations: 31.98 kB / 0.5861 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.05767, allocations: 16 kB / 0.5861 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.05809, allocations: 271.4 kB / 0.5864 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.06037, allocations: 3.906 MB / 0.5902 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.06077, allocations: 198.9 kB / 0.5904 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.0609, allocations: 90.59 kB / 0.5905 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/0.06113, allocations: 119.9 kB / 0.5906 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002865/0.06141, allocations: 290.3 kB / 0.5909 GB, free: 9.906 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=39): time 2.154e-06/0.06142, allocations: 0 / 0.5909 GB, free: 9.906 MB / 0.5573 GB Notification: Performance of matching and sorting (n=39): time 0.000604/0.06202, allocations: 371.9 kB / 0.5912 GB, free: 9.539 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.06206, allocations: 63.39 kB / 0.5913 GB, free: 9.465 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/0.0625, allocations: 0.6165 MB / 0.5919 GB, free: 8.832 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.06253, allocations: 41.7 kB / 0.5919 GB, free: 8.785 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.06278, allocations: 0.495 MB / 0.5924 GB, free: 8.285 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.518e-05/0.06285, allocations: 134.9 kB / 0.5925 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.06298, allocations: 143.8 kB / 0.5927 GB, free: 8.004 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.06314, allocations: 0.5586 MB / 0.5932 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.0633, allocations: 128.7 kB / 0.5933 GB, free: 7.293 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.06366, allocations: 0.6896 MB / 0.594 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.06406, allocations: 492.1 kB / 0.5945 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.06407, allocations: 4 kB / 0.5945 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006411/0.06471, allocations: 0.5866 MB / 0.5951 GB, free: 5.191 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/0.06475, allocations: 67.39 kB / 0.5951 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.06476, allocations: 4 kB / 0.5951 GB, free: 5.109 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.06478, allocations: 16.75 kB / 0.5951 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.06503, allocations: 135.7 kB / 0.5953 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.06504, allocations: 11.98 kB / 0.5953 GB, free: 4.949 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.06529, allocations: 75.59 kB / 0.5954 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/0.06534, allocations: 39.98 kB / 0.5954 GB, free: 4.836 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.0001689/0.06551, allocations: 204.3 kB / 0.5956 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.419e-05/0.06559, allocations: 87.53 kB / 0.5957 GB, free: 4.539 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009046/0.0665, allocations: 0.7754 MB / 0.5964 GB, free: 3.75 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.06651, allocations: 15.98 kB / 0.5964 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.06652, allocations: 0 / 0.5964 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-06/0.06652, allocations: 3.984 kB / 0.5964 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.06782, allocations: 1.407 MB / 0.5978 GB, free: 2.234 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.06783, allocations: 7.938 kB / 0.5978 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.06802, allocations: 91.83 kB / 0.5979 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.06803, allocations: 4 kB / 0.5979 GB, free: 2.133 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.06805, allocations: 19.98 kB / 0.5979 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.06806, allocations: 11.98 kB / 0.5979 GB, free: 2.102 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.06806, allocations: 4.375 kB / 0.598 GB, free: 2.098 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008753/0.06894, allocations: 0.8986 MB / 0.5988 GB, free: 1.133 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.06912, allocations: 179 kB / 0.599 GB, free: 0.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/0.06918, allocations: 19.98 kB / 0.599 GB, free: 0.9375 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.06937, allocations: 43.84 kB / 0.5991 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.06947, allocations: 76.31 kB / 0.5991 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.06951, allocations: 27.98 kB / 0.5992 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003402/0.06985, allocations: 395 kB / 0.5995 GB, free: 424 kB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.06985, allocations: 4.031 kB / 0.5995 GB, free: 420 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008228/0.07067, allocations: 347.1 kB / 0.5999 GB, free: 72 kB / 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.0005069/0.07118, allocations: 414.4 kB / 0.6003 GB, free: 15.66 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005582/0.07174, allocations: 0.5255 MB / 0.6008 GB, free: 15.09 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.07174, allocations: 12.12 kB / 0.6008 GB, free: 15.08 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.07201, allocations: 236.4 kB / 0.601 GB, free: 14.85 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007906/0.0728, allocations: 312.1 kB / 0.6013 GB, free: 14.55 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.07466, allocations: 1.502 MB / 0.6028 GB, free: 12.96 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.07478, allocations: 196.6 kB / 0.603 GB, free: 12.75 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002621/0.07504, allocations: 145.5 kB / 0.6031 GB, free: 12.61 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.07516, allocations: 80.41 kB / 0.6032 GB, free: 12.52 MB / 0.573 GB Notification: Performance of SimCode: time 7.42e-07/0.07516, allocations: 0 / 0.6032 GB, free: 12.52 MB / 0.573 GB Notification: Performance of Templates: time 0.02019/0.09535, allocations: 16.9 MB / 0.6197 GB, free: 11.96 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Taps.Examples.Tap.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.Tap.sim & ./IDEAS_IDEAS.Fluid.Taps.Examples.Tap -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2458962330129]