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.001928/0.001928, allocations: 78.56 kB / 19.18 MB, free: 2.516 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.00244/0.00244, allocations: 165.1 kB / 22.46 MB, free: 5.367 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.444/1.444, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 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-531:686: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-531:694: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.198/1.198, allocations: 154.7 MB / 413.9 MB, free: 5.156 MB / 382.1 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.843e-06/1.843e-06, allocations: 0 / 0.6187 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.896e-05, allocations: 2.281 kB / 0.6187 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.05099/0.05102, allocations: 39.86 MB / 0.6577 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0127/0.06372, allocations: 6.869 MB / 0.6644 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.06557, allocations: 55.44 kB / 0.6644 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.06747, allocations: 0.5002 MB / 0.6649 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00511/0.07258, allocations: 1.48 MB / 0.6663 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003504/0.07608, allocations: 1.204 MB / 0.6675 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004322/0.0804, allocations: 2.467 MB / 0.6699 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.08196, allocations: 0.6801 MB / 0.6706 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004571/0.08653, allocations: 1.744 MB / 0.6723 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.08802, allocations: 0.5841 MB / 0.6729 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002883/0.08831, allocations: 84 kB / 0.673 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.09037, allocations: 0.6507 MB / 0.6736 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003979/0.09077, allocations: 231 kB / 0.6738 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000799/0.09157, allocations: 351.2 kB / 0.6741 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003047/0.09462, allocations: 1.542 MB / 0.6756 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.09462, allocations: 0 / 0.6756 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.954e-06/0.09462, allocations: 0 / 0.6756 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.999e-05/0.09468, allocations: 0 / 0.6756 GB, free: 10.09 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.003073/0.09776, allocations: 1.313 MB / 0.6769 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.0978, allocations: 12.03 kB / 0.6769 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003586/0.09816, allocations: 116.2 kB / 0.6771 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.09971, allocations: 0.6927 MB / 0.6777 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.225e-05/0.09978, allocations: 58.38 kB / 0.6778 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.09993, allocations: 76.38 kB / 0.6779 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.1018, allocations: 0.9384 MB / 0.6788 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.1018, allocations: 3.938 kB / 0.6788 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.255e-05/0.1019, allocations: 28 kB / 0.6788 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.1019, allocations: 16 kB / 0.6788 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.1035, allocations: 0.5905 MB / 0.6794 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004473/0.108, allocations: 3.089 MB / 0.6824 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.1091, allocations: 366.2 kB / 0.6828 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.1096, allocations: 212.7 kB / 0.683 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000447/0.1101, allocations: 119.8 kB / 0.6831 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008176/0.1109, allocations: 409.5 kB / 0.6835 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 3.346e-06/0.1109, allocations: 0 / 0.6835 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001944/0.1129, allocations: 0.6894 MB / 0.6841 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.1129, allocations: 59.39 kB / 0.6842 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009228/0.1138, allocations: 0.6293 MB / 0.6848 GB, free: 376 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.334e-05/0.1139, allocations: 37.64 kB / 0.6849 GB, free: 332 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004505/0.1143, allocations: 464.3 kB / 0.6853 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.1145, allocations: 130.9 kB / 0.6854 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.1147, allocations: 138.2 kB / 0.6856 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002173/0.1149, allocations: 378.5 kB / 0.6859 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000619/0.1156, allocations: 276.5 kB / 0.6862 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.1166, allocations: 0.767 MB / 0.6869 GB, free: 14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.1179, allocations: 0.6586 MB / 0.6876 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.1179, allocations: 0 / 0.6876 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001809/0.1197, allocations: 0.8254 MB / 0.6884 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.344e-05/0.1198, allocations: 63.41 kB / 0.6884 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.1198, allocations: 8 kB / 0.6884 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/0.1198, allocations: 11.98 kB / 0.6885 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/0.1203, allocations: 131.8 kB / 0.6886 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/0.1203, allocations: 11.94 kB / 0.6886 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000669/0.121, allocations: 95.66 kB / 0.6887 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.1211, allocations: 39.98 kB / 0.6887 GB, free: 12.03 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.0004139/0.1215, allocations: 245.6 kB / 0.689 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.1217, allocations: 75.53 kB / 0.689 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.1241, allocations: 1.134 MB / 0.6901 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.138e-05/0.1241, allocations: 15.98 kB / 0.6901 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-06/0.1241, allocations: 4 kB / 0.6902 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.1241, allocations: 0 / 0.6902 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/0.1274, allocations: 1.768 MB / 0.6919 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.1274, allocations: 0 / 0.6919 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004048/0.1278, allocations: 95.88 kB / 0.692 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-05/0.1279, allocations: 15.92 kB / 0.692 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.1279, allocations: 19.98 kB / 0.692 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/0.1279, allocations: 7.984 kB / 0.692 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.1279, allocations: 8.281 kB / 0.692 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/0.1306, allocations: 1.439 MB / 0.6934 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003737/0.131, allocations: 171.1 kB / 0.6936 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.1311, allocations: 20 kB / 0.6936 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004878/0.1316, allocations: 55.94 kB / 0.6937 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.1318, allocations: 72.31 kB / 0.6937 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-05/0.1318, allocations: 27.98 kB / 0.6938 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006261/0.1325, allocations: 435 kB / 0.6942 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1325, allocations: 0 / 0.6942 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001145/0.1336, allocations: 347 kB / 0.6945 GB, free: 5.973 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.0009037/0.1345, allocations: 415.7 kB / 0.6949 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.1363, allocations: 0.8166 MB / 0.6957 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.1363, allocations: 0 / 0.6957 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009624/0.1372, allocations: 440.4 kB / 0.6961 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.1387, allocations: 280.8 kB / 0.6964 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002961/0.1416, allocations: 1.607 MB / 0.698 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.1421, allocations: 433.3 kB / 0.6984 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005434/0.1427, allocations: 161.5 kB / 0.6985 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.1429, allocations: 80.47 kB / 0.6986 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of SimCode: time 1.362e-06/0.1429, allocations: 0 / 0.6986 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of Templates: time 0.3408/0.4837, allocations: 16.7 MB / 0.7149 GB, free: 85.32 MB / 0.6075 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.7203035075217485] Failed to read output from testmodel.py, exit status != 0: 0.4942073877900839 0.5071092460000001 0.40958789100000004 Calling exit ...