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.001373/0.001373, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001737/0.001737, allocations: 168.4 kB / 22.46 MB, free: 5.355 MB / 14.72 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.485/1.485, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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-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 1.204/1.204, allocations: 154.6 MB / 413.7 MB, free: 5.309 MB / 382.1 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.993e-06/1.993e-06, allocations: 0 / 0.6185 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.332e-05, allocations: 4.672 kB / 0.6185 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.04963/0.04966, allocations: 39.87 MB / 0.6574 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01152/0.06119, allocations: 6.869 MB / 0.6642 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.06257, allocations: 59.44 kB / 0.6642 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.06399, allocations: 0.504 MB / 0.6647 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004728/0.06872, allocations: 1.515 MB / 0.6662 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003322/0.07204, allocations: 1.212 MB / 0.6674 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003923/0.07596, allocations: 2.536 MB / 0.6698 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.0774, allocations: 0.684 MB / 0.6705 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003927/0.08132, allocations: 1.76 MB / 0.6722 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.08233, allocations: 0.5802 MB / 0.6728 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.08248, allocations: 84 kB / 0.6729 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.08421, allocations: 0.6545 MB / 0.6735 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002965/0.0845, allocations: 247 kB / 0.6737 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000539/0.08504, allocations: 347.2 kB / 0.6741 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002543/0.08759, allocations: 1.538 MB / 0.6756 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.08759, allocations: 0 / 0.6756 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.793e-06/0.0876, allocations: 0 / 0.6756 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.918e-05/0.08762, allocations: 4 kB / 0.6756 GB, free: 10.04 MB / 0.5919 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.09015, allocations: 1.309 MB / 0.6769 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.0902, allocations: 9.469 kB / 0.6769 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.09046, allocations: 116.2 kB / 0.677 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.09176, allocations: 0.6927 MB / 0.6777 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-05/0.09183, allocations: 54.38 kB / 0.6777 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.09194, allocations: 68.38 kB / 0.6778 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.0937, allocations: 0.9423 MB / 0.6787 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.09371, allocations: 0 / 0.6787 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-05/0.09379, allocations: 28 kB / 0.6787 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.09381, allocations: 20 kB / 0.6787 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.09532, allocations: 0.5943 MB / 0.6793 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004177/0.0995, allocations: 3.085 MB / 0.6823 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.1008, allocations: 370.2 kB / 0.6827 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005828/0.1013, allocations: 224.7 kB / 0.6829 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003958/0.1017, allocations: 111.9 kB / 0.683 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008498/0.1026, allocations: 405.4 kB / 0.6834 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 3.076e-06/0.1026, allocations: 0 / 0.6834 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.002103/0.1047, allocations: 0.6894 MB / 0.6841 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.1048, allocations: 59.41 kB / 0.6841 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008178/0.1056, allocations: 0.6215 MB / 0.6847 GB, free: 332 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.868e-05/0.1056, allocations: 41.7 kB / 0.6848 GB, free: 284 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004569/0.1061, allocations: 468.1 kB / 0.6852 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.1062, allocations: 130.9 kB / 0.6853 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/0.1065, allocations: 138.1 kB / 0.6855 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000215/0.1067, allocations: 382.7 kB / 0.6858 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006239/0.1073, allocations: 268.5 kB / 0.6861 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.1084, allocations: 0.7816 MB / 0.6869 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.1098, allocations: 0.6469 MB / 0.6875 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.1098, allocations: 0 / 0.6875 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001889/0.1117, allocations: 0.825 MB / 0.6883 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.624e-05/0.1118, allocations: 63.41 kB / 0.6884 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.1118, allocations: 8.75 kB / 0.6884 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.1118, allocations: 11.98 kB / 0.6884 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005367/0.1123, allocations: 135.8 kB / 0.6885 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.646e-05/0.1124, allocations: 11.94 kB / 0.6885 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006507/0.113, allocations: 95.5 kB / 0.6886 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.488e-05/0.1131, allocations: 39.98 kB / 0.6886 GB, free: 11.98 MB / 0.6075 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.0004194/0.1135, allocations: 241.6 kB / 0.6889 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.1137, allocations: 83.48 kB / 0.689 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/0.1161, allocations: 1.131 MB / 0.6901 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/0.1161, allocations: 11.98 kB / 0.6901 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1161, allocations: 0 / 0.6901 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.1161, allocations: 0 / 0.6901 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/0.1194, allocations: 1.765 MB / 0.6918 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.1194, allocations: 3.938 kB / 0.6918 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004229/0.1198, allocations: 100.2 kB / 0.6919 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.1198, allocations: 8 kB / 0.6919 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.1198, allocations: 19.98 kB / 0.6919 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.034e-05/0.1199, allocations: 11.92 kB / 0.6919 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1199, allocations: 4 kB / 0.6919 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/0.1227, allocations: 1.431 MB / 0.6933 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.123, allocations: 175 kB / 0.6935 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.1231, allocations: 19.98 kB / 0.6935 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/0.1236, allocations: 60 kB / 0.6936 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.1238, allocations: 76.25 kB / 0.6937 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.616e-05/0.1238, allocations: 27.98 kB / 0.6937 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006019/0.1244, allocations: 427 kB / 0.6941 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.1244, allocations: 0 / 0.6941 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001077/0.1255, allocations: 347 kB / 0.6944 GB, free: 5.938 MB / 0.6075 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.0007789/0.1263, allocations: 423.6 kB / 0.6948 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.1281, allocations: 0.814 MB / 0.6956 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1281, allocations: 4.062 kB / 0.6956 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000993/0.1291, allocations: 434.7 kB / 0.696 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.1307, allocations: 282.4 kB / 0.6963 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.1334, allocations: 1.603 MB / 0.6979 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.1339, allocations: 433.3 kB / 0.6983 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004925/0.1344, allocations: 157.5 kB / 0.6984 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.1346, allocations: 80.47 kB / 0.6985 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of SimCode: time 9.02e-07/0.1346, allocations: 0 / 0.6985 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of Templates: time 0.2988/0.4334, allocations: 16.72 MB / 0.7148 GB, free: 85.35 MB / 0.6075 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.746418695896864] Failed to read output from testmodel.py, exit status != 0: 0.44241995364427567 0.45318425199999995 0.36283773399999997 Calling exit ...