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.001861/0.001861, allocations: 85.48 kB / 19.44 MB, free: 332 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.002066/0.002066, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.533/1.533, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.347/1.347, allocations: 154.8 MB / 414.4 MB, free: 448 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 178] 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 1.492e-06/1.492e-06, allocations: 1.094 kB / 0.5198 GB, free: 2.305 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.018e-05, allocations: 3.859 kB / 0.5198 GB, free: 2.301 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.05945/0.05948, allocations: 45.01 MB / 0.5638 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0135/0.07299, allocations: 7.573 MB / 0.5712 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.07483, allocations: 59.44 kB / 0.5713 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.07644, allocations: 0.4963 MB / 0.5717 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004812/0.08125, allocations: 1.516 MB / 0.5732 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.00337/0.08462, allocations: 1.207 MB / 0.5744 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004055/0.08868, allocations: 2.515 MB / 0.5768 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.09009, allocations: 0.7273 MB / 0.5776 GB, free: 7.195 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004119/0.09421, allocations: 1.767 MB / 0.5793 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.0955, allocations: 0.5919 MB / 0.5799 GB, free: 4.828 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.09568, allocations: 84 kB / 0.5799 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.0974, allocations: 0.6623 MB / 0.5806 GB, free: 4.082 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000326/0.09772, allocations: 243 kB / 0.5808 GB, free: 3.844 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005688/0.09829, allocations: 347.1 kB / 0.5812 GB, free: 3.504 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.1011, allocations: 1.546 MB / 0.5827 GB, free: 1.953 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1011, allocations: 4 kB / 0.5827 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1011, allocations: 0 / 0.5827 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.1011, allocations: 0 / 0.5827 GB, free: 1.949 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.002499/0.1036, allocations: 1.475 MB / 0.5841 GB, free: 428 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1036, allocations: 8.031 kB / 0.5841 GB, free: 420 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003337/0.104, allocations: 168.2 kB / 0.5843 GB, free: 252 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.1054, allocations: 0.7424 MB / 0.585 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.944e-05/0.1055, allocations: 54.38 kB / 0.5851 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.1056, allocations: 76.38 kB / 0.5851 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.1074, allocations: 0.9753 MB / 0.5861 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.1074, allocations: 7.938 kB / 0.5861 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.249e-05/0.1075, allocations: 28 kB / 0.5861 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.1075, allocations: 16 kB / 0.5861 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.1088, allocations: 0.5124 MB / 0.5866 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005607/0.1144, allocations: 4.26 MB / 0.5908 GB, free: 9.301 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.1155, allocations: 315.1 kB / 0.5911 GB, free: 8.98 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/0.116, allocations: 174.1 kB / 0.5913 GB, free: 8.809 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000446/0.1164, allocations: 119.9 kB / 0.5914 GB, free: 8.691 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007413/0.1171, allocations: 370 kB / 0.5917 GB, free: 8.289 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=39): time 2.675e-06/0.1171, allocations: 4 kB / 0.5917 GB, free: 8.285 MB / 0.5573 GB Notification: Performance of matching and sorting (n=39): time 0.001721/0.1189, allocations: 0.5817 MB / 0.5923 GB, free: 7.699 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.1189, allocations: 63.34 kB / 0.5924 GB, free: 7.625 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.12, allocations: 0.8119 MB / 0.5931 GB, free: 6.793 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.61e-05/0.1201, allocations: 37.7 kB / 0.5932 GB, free: 6.75 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005537/0.1206, allocations: 0.534 MB / 0.5937 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.1208, allocations: 146.9 kB / 0.5938 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.1211, allocations: 159.9 kB / 0.594 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0004156/0.1215, allocations: 0.6015 MB / 0.5946 GB, free: 5.289 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005246/0.122, allocations: 228.6 kB / 0.5948 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.1232, allocations: 0.8066 MB / 0.5956 GB, free: 4.055 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.1244, allocations: 0.6485 MB / 0.5962 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1244, allocations: 0 / 0.5962 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001885/0.1263, allocations: 0.7741 MB / 0.597 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.03e-05/0.1264, allocations: 63.39 kB / 0.597 GB, free: 2.406 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.1264, allocations: 8 kB / 0.597 GB, free: 2.398 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/0.1264, allocations: 11.94 kB / 0.5971 GB, free: 2.387 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004824/0.1269, allocations: 128.4 kB / 0.5972 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/0.1269, allocations: 12 kB / 0.5972 GB, free: 2.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005861/0.1275, allocations: 87.52 kB / 0.5973 GB, free: 2.164 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.168e-05/0.1276, allocations: 35.98 kB / 0.5973 GB, free: 2.129 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.0004605/0.128, allocations: 288.2 kB / 0.5976 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.1282, allocations: 87.53 kB / 0.5977 GB, free: 1.75 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.1303, allocations: 0.912 MB / 0.5986 GB, free: 0.832 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.593e-05/0.1303, allocations: 11.98 kB / 0.5986 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.1303, allocations: 4 kB / 0.5986 GB, free: 0.8164 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.1303, allocations: 3.984 kB / 0.5986 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003238/0.1336, allocations: 1.715 MB / 0.6003 GB, free: 15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.1336, allocations: 7.938 kB / 0.6003 GB, free: 15 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/0.134, allocations: 92.19 kB / 0.6003 GB, free: 14.91 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/0.134, allocations: 12 kB / 0.6004 GB, free: 14.89 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.012e-05/0.134, allocations: 19.98 kB / 0.6004 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/0.134, allocations: 4 kB / 0.6004 GB, free: 14.87 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.134, allocations: 4 kB / 0.6004 GB, free: 14.87 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/0.1364, allocations: 1.168 MB / 0.6015 GB, free: 13.63 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004208/0.1368, allocations: 182.9 kB / 0.6017 GB, free: 13.46 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.285e-05/0.1369, allocations: 16 kB / 0.6017 GB, free: 13.44 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/0.1373, allocations: 43.97 kB / 0.6018 GB, free: 13.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.1375, allocations: 76.31 kB / 0.6018 GB, free: 13.32 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.729e-05/0.1376, allocations: 27.98 kB / 0.6019 GB, free: 13.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007169/0.1383, allocations: 0.4951 MB / 0.6023 GB, free: 12.81 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.1383, allocations: 0 / 0.6023 GB, free: 12.81 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001197/0.1395, allocations: 347 kB / 0.6027 GB, free: 12.47 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.0008753/0.1404, allocations: 430.3 kB / 0.6031 GB, free: 12.04 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001805/0.1422, allocations: 0.7015 MB / 0.6038 GB, free: 11.29 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.1422, allocations: 4.062 kB / 0.6038 GB, free: 11.29 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007489/0.1429, allocations: 328.4 kB / 0.6041 GB, free: 10.96 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.1445, allocations: 293.3 kB / 0.6044 GB, free: 10.69 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.1477, allocations: 1.592 MB / 0.6059 GB, free: 9.012 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.1483, allocations: 429.3 kB / 0.6063 GB, free: 8.562 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005741/0.1489, allocations: 141.5 kB / 0.6065 GB, free: 8.422 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.1491, allocations: 80.41 kB / 0.6065 GB, free: 8.344 MB / 0.573 GB Notification: Performance of SimCode: time 1.663e-06/0.1491, allocations: 7.938 kB / 0.6065 GB, free: 8.336 MB / 0.573 GB Notification: Performance of Templates: time 0.03252/0.1816, allocations: 16.9 MB / 0.623 GB, free: 7.781 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: 6.724970148992725]