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.002365/0.002365, allocations: 93.47 kB / 19.44 MB, free: 336 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.002904/0.002904, allocations: 169.6 kB / 22.76 MB, free: 1.664 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.566/1.566, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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 1.387/1.387, allocations: 154.6 MB / 414.1 MB, free: 0.6602 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 178] 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 1.333e-06/1.333e-06, allocations: 0 / 0.5196 GB, free: 2.574 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.031e-05/3.164e-05, allocations: 4.422 kB / 0.5196 GB, free: 2.57 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.0596/0.05963, allocations: 45.01 MB / 0.5636 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01328/0.07291, allocations: 7.587 MB / 0.571 GB, free: 14 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.07432, allocations: 59.44 kB / 0.571 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.07574, allocations: 0.4963 MB / 0.5715 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004158/0.07989, allocations: 1.511 MB / 0.573 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003081/0.08298, allocations: 1.201 MB / 0.5742 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003712/0.08669, allocations: 2.521 MB / 0.5766 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.08803, allocations: 0.7359 MB / 0.5773 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004004/0.09203, allocations: 1.76 MB / 0.5791 GB, free: 5.691 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.09315, allocations: 0.588 MB / 0.5796 GB, free: 5.102 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.09332, allocations: 80 kB / 0.5797 GB, free: 5.023 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.09513, allocations: 0.6662 MB / 0.5804 GB, free: 4.355 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003197/0.09545, allocations: 243 kB / 0.5806 GB, free: 4.117 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005925/0.09604, allocations: 351.1 kB / 0.5809 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002899/0.09894, allocations: 1.542 MB / 0.5824 GB, free: 2.227 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.09894, allocations: 0 / 0.5824 GB, free: 2.227 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.302e-06/0.09895, allocations: 0 / 0.5824 GB, free: 2.227 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.09896, allocations: 8 kB / 0.5824 GB, free: 2.219 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.002535/0.1015, allocations: 1.471 MB / 0.5839 GB, free: 0.6914 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.1015, allocations: 12.03 kB / 0.5839 GB, free: 0.6797 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003634/0.1019, allocations: 168.2 kB / 0.584 GB, free: 0.5156 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.1033, allocations: 0.7392 MB / 0.5848 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/0.1035, allocations: 54.38 kB / 0.5848 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.1036, allocations: 76.38 kB / 0.5849 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.1054, allocations: 0.9823 MB / 0.5858 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.1054, allocations: 3.938 kB / 0.5859 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.877e-05/0.1054, allocations: 28 kB / 0.5859 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.1055, allocations: 20 kB / 0.5859 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.1068, allocations: 0.5085 MB / 0.5864 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005576/0.1124, allocations: 4.253 MB / 0.5905 GB, free: 9.582 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.1135, allocations: 318.9 kB / 0.5909 GB, free: 9.258 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000449/0.1139, allocations: 179.6 kB / 0.591 GB, free: 9.078 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004119/0.1143, allocations: 115.9 kB / 0.5911 GB, free: 8.965 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007293/0.1151, allocations: 370 kB / 0.5915 GB, free: 8.562 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=39): time 2.575e-06/0.1151, allocations: 0 / 0.5915 GB, free: 8.562 MB / 0.5573 GB Notification: Performance of matching and sorting (n=39): time 0.00185/0.1169, allocations: 0.5818 MB / 0.5921 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.117, allocations: 55.41 kB / 0.5921 GB, free: 7.91 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.118, allocations: 0.8235 MB / 0.5929 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.051e-05/0.1181, allocations: 33.7 kB / 0.5929 GB, free: 7.031 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005636/0.1186, allocations: 0.5418 MB / 0.5935 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.1188, allocations: 134.9 kB / 0.5936 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.1191, allocations: 159.9 kB / 0.5938 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003954/0.1195, allocations: 0.6016 MB / 0.5943 GB, free: 5.574 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005228/0.12, allocations: 220.6 kB / 0.5946 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.121, allocations: 0.8106 MB / 0.5953 GB, free: 4.344 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.1223, allocations: 0.6485 MB / 0.596 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1223, allocations: 0 / 0.596 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001674/0.1239, allocations: 0.7822 MB / 0.5967 GB, free: 2.762 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.736e-05/0.124, allocations: 63.39 kB / 0.5968 GB, free: 2.688 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.124, allocations: 4 kB / 0.5968 GB, free: 2.684 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/0.124, allocations: 12 kB / 0.5968 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.1246, allocations: 127.8 kB / 0.5969 GB, free: 2.547 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/0.1246, allocations: 11.94 kB / 0.5969 GB, free: 2.535 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/0.1251, allocations: 91.88 kB / 0.597 GB, free: 2.445 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-05/0.1252, allocations: 43.91 kB / 0.5971 GB, free: 2.402 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.000417/0.1256, allocations: 280.4 kB / 0.5973 GB, free: 2.117 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.1258, allocations: 83.53 kB / 0.5974 GB, free: 2.035 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.1279, allocations: 0.9042 MB / 0.5983 GB, free: 1.121 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.77e-05/0.1279, allocations: 15.98 kB / 0.5983 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1279, allocations: 0 / 0.5983 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.1279, allocations: 7.922 kB / 0.5983 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003364/0.1313, allocations: 1.719 MB / 0.6 GB, free: 15.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.1313, allocations: 4 kB / 0.6 GB, free: 15.29 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/0.1317, allocations: 99.81 kB / 0.6001 GB, free: 15.19 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.1317, allocations: 4 kB / 0.6001 GB, free: 15.19 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/0.1317, allocations: 23.98 kB / 0.6001 GB, free: 15.16 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/0.1318, allocations: 4.375 kB / 0.6001 GB, free: 15.16 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.1318, allocations: 11.94 kB / 0.6002 GB, free: 15.15 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/0.134, allocations: 1.16 MB / 0.6013 GB, free: 13.92 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003853/0.1344, allocations: 175.1 kB / 0.6015 GB, free: 13.75 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-05/0.1345, allocations: 20.03 kB / 0.6015 GB, free: 13.73 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/0.1349, allocations: 43.97 kB / 0.6015 GB, free: 13.68 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.1351, allocations: 76.31 kB / 0.6016 GB, free: 13.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.343e-05/0.1351, allocations: 27.98 kB / 0.6016 GB, free: 13.58 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006828/0.1358, allocations: 0.4951 MB / 0.6021 GB, free: 13.09 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.1358, allocations: 0 / 0.6021 GB, free: 13.09 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001117/0.1369, allocations: 343 kB / 0.6024 GB, free: 12.76 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.0008329/0.1378, allocations: 432.5 kB / 0.6028 GB, free: 12.33 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00155/0.1393, allocations: 0.7054 MB / 0.6035 GB, free: 11.58 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.1393, allocations: 4 kB / 0.6035 GB, free: 11.58 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006979/0.14, allocations: 328.8 kB / 0.6038 GB, free: 11.26 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.1415, allocations: 305.7 kB / 0.6041 GB, free: 10.97 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/0.1445, allocations: 1.58 MB / 0.6057 GB, free: 9.297 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.145, allocations: 425.3 kB / 0.6061 GB, free: 8.852 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004748/0.1455, allocations: 145.5 kB / 0.6062 GB, free: 8.707 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.1457, allocations: 84.41 kB / 0.6063 GB, free: 8.625 MB / 0.573 GB Notification: Performance of SimCode: time 9.02e-07/0.1457, allocations: 0 / 0.6063 GB, free: 8.625 MB / 0.573 GB Notification: Performance of Templates: time 0.03311/0.1788, allocations: 16.89 MB / 0.6228 GB, free: 8.078 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: 6.889015620923601]